ssh in openssh truncates the command line
<[email protected]> Mon, 13 Nov 2006 17:52:25 +0200
| Newsgroups | gmane.network.ssh.windows |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm using the SSH connection during my project. As part of the porting to windows, I took the use of OpenSSH for Windows. Then when I executed the command remotely using ssh, the command is been truncated. See the clip below: -----Clip----- C:\APPS\unix\bin>ssh [email protected] "'c:/program files/openssh/bin/sh.exe' c:/echo.sh 01234567-101234567-201234567-301234567-401234567-501234567-601234567-701 234567-801234567-90123456-100123456-110123456-120123456-130123456-140123 456-150123456-160123456-170123456-180123456-190123456-200123456-21012345 6-220123456-230123456-240123456-25" ****USAGE WARNING**** This is a private computer system. This computer system, including all related equipment, networks, and network devices (specifically including Internet access) are provided only for authorized use. This computer system may be monitored for all lawful purposes, including to ensure that its use is authorized, for management of the system, to facilitate protection against unauthorized access, and to verify security procedures, survivability, and operational security. Monitoring includes active attacks by authorized entities to test or verify the security of this system. During monitoring, information may be examined, recorded, copied and used for authorized purposes. All information, including personal information, placed or sent over this system may be monitored. Use of this computer system, authorized or unauthorized, constitutes consent to monitoring of this system. Unauthorized use may subject you to criminal prosecution. Evidence of unauthorized use collected during monitoring may be used for administrative, criminal, or other adverse action. Use of this system constitutes consent to monitoring for these purposes. [email protected]'s password: echo.sh 01234567-101234567-201234567-301234567-401234567-501234567-601234567-701 234567-801234567-90123456-100123456-110123456-120123456-130123456-140123 456-150123456-160123456-170123456-180123456-1 C:\APPS\unix\bin>more \echo.sh echo `basename $0` $* C:\APPS\unix\bin> -----Clip----- See the colored output above. For some reason, there is a limitation on the length of the command that ssh in OpenSSH takes care of. This problem is not seen with linux built-in ssh. Can anyone knows any solution how to get rid of this or faced such situation? Is it a bug or am I doing some mistake? Thanks and Best Regards, - Vamsi.