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