This is an old revision of the document!
How do I change an user after login (e.g. su root)?
SFTP protocol does not allow this.
With SCP protocol it is possible, but only if you are allowed to do sudo su
without being prompted with password. See sudo
documentation to learn how to do that. Then you can specify sudo su
(or sudo su <username>
) as custom shell on SCP tab of Login dialog.
Advertisement