Posted: 2010-08-17 19:34
WinSCP 4.2.8 (build 818) on XP Pro, using scp to a UNIX machine.
In the GUI, I log on to a central machine with centrally-controlled /etc/profile (in other words, I can't change etc/profile for anything!). I have ssh keys set up and in place.
It just hangs. I found out that logins to other machines work, because the server that's giving me problems has a read shell command in /etc/profile, and they don't. So scp is waiting for the login to complete, and /etc/profile is waiting for a newline. Classic deadly embrace!
Since it hangs, there is no error message.
Is there any way to get WinSCP to goose the server with a newline, to get past that doggone read in /etc/profile????
Location: Prague, Czechia
You may be able to alias the read command to noop before starting shell. See Shell option on Login dialog.
You can post new topics in this forum
And it's free!