That worked
Shell=shell
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
shell – as the Shell to use (since this is the first command to enter in NetScaler when ssh to the appliance).
sudo (if it prompts for a password) needs to go to .bash_profile.
.bashrc file I had a command to sudo to another user. Once I removed this line, WinSCP worked. So please make sure .bashrc doesn't have sudo or cd to a directory that has no permission for the user.
Did you try SFTP?
Regarding PuTTy, I was highlighting the fact that the server can be accessed via SSH on port XX with the supplied credentials, thereby eliminating those items as possible causes of the problem.
I wasn't aware that it might affect the connection. As far as I know, no changes have been made to the SSH server - otherwise I don't think PuTTy would work.
cmd.exe.
The cause of the problem might that the remote directory does not exist anymore AND you have set
Advanced -> Environment -> SCP/Shell -> Shell: "Default"
The failure to set the current directory seems to break the shell auto-detection. So if you set an explicit shell, the problem goes away.
Other solutions:
– choose an existing directory (Advanced -> Environment -> Directories -> Remote Directory:)
– re-create the directory in a separate SSH session