You cannot execute 'su' in WinSCP session. At least most of the servers refuse to execute 'su' for session with not allocated PTY. But you may try it from 'Console' window._________________Martin Prikryl

su requires user input ( the password! ), how do you get around that? Or am I missing something obvious?

IMHO you cannot get around that. 'su' needs PTY for security reasons. So to say: you need to be human to run 'su', and WinSCP is not a human For example you cannot create file with your password and redirect it as input to 'su'. It will detect that. If you find some solution, let me know, I'm interested._________________Martin Prikryl

IMHO you cannot get around that. 'su' needs PTY for security reasons. So to say: you need to be human to run 'su', and WinSCP is not a human For example you cannot create file with your password and redirect it as input to 'su'. It will detect that. If you find some solution, let me know, I'm interested.

How about using sudo or super? That wouldn't need access to tty (at least when configured to not ask password).