[Bug 2743] ssh with -T hangs putty

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Jul 12 10:50:53 AEST 2017


https://bugzilla.mindrot.org/show_bug.cgi?id=2743

--- Comment #4 from balu <bagajjal at microsoft.com> ---
(In reply to Darren Tucker from comment #3)
> (In reply to balu from comment #2)
> > Thanks for the quick reply.
> > 
> > In the putty logs, it doesn't show the incoming packet so not sure
> > if the server is sending back the character to putty.
> 
> It isn't because it shouldn't.
> 
> > FYI, I tried the win32-openssh client, it works with the windows ssh
> > server (with -T option) but didn't work with the UNIX ssh server. So
> > I am guessing the per-keystroke echo is working fine and something
> > else is the issue.
> 
> I suspect that's due to the difference between Windows line endings
> (\r\n) and Unix line endings (\n).  You could confirm that by
> strace'ing the shell on the Unix side similar to what I did.

I modified the win32-openssh client to send "\n" instead of "\r" so the
command gets executed but the per-keystroke echo is not working. 
Example - when I type "dir\n".. At the client side I see the output of
the dir but not the command "dir"..

I tried the same thing on the unix ssh client, it does echo the actual
command "dir".

Is there anything we need to do to show the per-keystroke echo?

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list