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????