Re: What's the difference between WinSCP session and other SSH client session?
WinSCP console does not use a terminal emulation.
Consequently, the server shell may use a different set of startup scripts, potentially setting
Consequently, the server shell may use a different set of startup scripts, potentially setting
PATH
(and other environment variables) differently for WinSCP session than for regular interactive SSH terminals. That may explain the difference. It's generally a misconfiguration, if PATH
is set differently for interactive and non-interactive sessions.