Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Features Request: Execute SFTP with sudo on connect #11636

Closed
cyberduck opened this issue Mar 29, 2021 · 1 comment
Closed

Features Request: Execute SFTP with sudo on connect #11636

cyberduck opened this issue Mar 29, 2021 · 1 comment
Labels
duplicate feature sftp SFTP Protocol Implementation

Comments

@cyberduck
Copy link
Collaborator

f200835 created the issue

Use case: Debian-based machines have root login via SSH disabled by default, which is a good idea in terms of security. Admin accounts have sudo permissions and are typically used to copy files to several directories across the system, which are only writable with sudo.

-Problem:* Currently a SFTP session in Cyberduck is only able to access directories, for which the user has native permissions. sudo can't be used. Thus, the Cyberduck user can only copy files to writable directories like the admin's home and then move the files via SSH to the directory where they actually belong to.

-Feature request:* Add a function to execute an "on-connect command", similar to a function known from the ugly competitor ;-) (documentation here (https://winscp.net/eng/docs/faq_su) and a config example here (https://stackoverflow.com/a/50971734)).
I would expect this function to be configured on a per-server basis, so it might be a good fit to the add/edit server view, when SFTP is selected.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Duplicate for #8230.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate feature sftp SFTP Protocol Implementation
Projects
None yet
Development

No branches or pull requests

1 participant