Opened 3 years ago
Closed 3 years ago
#12073 closed Feature request (rejected)
Add SFTP protocol option to use sudo on login
|Reported by:||Reto4||Owned by:|
|Component version:||Operating system type:|
|Operating system version:|
Sorry to say, but this is kind of a killer feature of WinSCP. On the other hand, it only understands putty private keys...
Change History (2)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
|Status:||new → closed|
sudo is not part of the SFTP specifications.
sudo is an undefined, system-specific command on interactive shells that isn't portable.
Note: See TracTickets for help on using tickets.
I also need this feature extremely.
This is sad, but currently, I have to give up FileZilla in favor of WinSCP, because I need to execute command like "sudo -u tools.PROJECT-NAME /usr/lib/sftp-server" right after logging in (authorisation under tool account). If I don't do that, I'm authorized under my private account and cannot access some of the files, and also new files will have wrong permissions.
This is standard way to work in Labs/Toolforge projects (Toolforge - public tools hosting of Wikipedia/Wikimedia projects).