Re: ssh in openssh truncates the command line

From: Chris Rapier <rapier_at_**********.***>
Date: Mon Nov 13 2006 - 11:37:48 EST

Have you tried executing that command directly under cygwin on that
machine?

Also, what version of OpenSSH for Windows are you using?

ext-Vamsi.Pendela@nokia.com wrote:
> 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 root@127.0.0.1 "'c:/program
> files/openssh/bin/sh.exe' c:/echo.sh
> 01234567-101234567-201234567-301234567-401234567-501234567-601234567-701234567-801234567-90123456-100123456-110123456-120123456-130123456-140123456-150123456-160123456-170123456-180123456-190123456-200123456-210123456-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.
>
>
> root@127.0.0.1's password:
>
> echo.sh
> 01234567-101234567-201234567-301234567-401234567-501234567-601234567-701234567-801234567-90123456-100123456-110123456-120123456-130123456-140123456-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.
>

--
List Info:      http://erdelynet.com/ssh-l/
List Archives:  http://erdelynet.com/archive/ssh-l/
To Unsubscribe: Mail mailto:ssh+unsubscribe@erdelynet.com
Received on Mon Nov 13 11:37:52 2006

This archive was generated by hypermail 2.1.8 : Mon Nov 13 2006 - 11:37:53 EST