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

Add support to run subsystem with sudo #8230

Open
cyberduck opened this issue Sep 18, 2014 · 16 comments
Open

Add support to run subsystem with sudo #8230

cyberduck opened this issue Sep 18, 2014 · 16 comments
Assignees
Labels
enhancement sftp SFTP Protocol Implementation

Comments

@cyberduck
Copy link
Collaborator

0cda607 created the issue

I often access servers, that I don’t control the configuration of, using cyberduck. They almost always are configured so that you can’t ssh as the root user. I do however have sudo access and sometimes need to switch to the root user to perform some actions.

I would save alot of time if I was able to do this using cyberduck. The windows SFTP client WinSCP has solved this, explained here:

@cyberduck
Copy link
Collaborator Author

4728f41 commented

+1

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Preference for subsystem name in 4bea50e.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

#9188 closed as duplicate.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

#9309 closed as duplicate.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

#10728 closed as duplicate.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

#11636 closed as duplicate.

@cyberduck
Copy link
Collaborator Author

f200835 commented

Wow, this tickets roots back to 2014. Is there even a chance to implement this feature?

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Replying to [comment:10 nihebe]:

Wow, this tickets roots back to 2014. Is there even a chance to implement this feature?

We will see that we can add support using a option in a custom connection profile.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

It not clear from the RFC this should work as the subsystem name must be predefined in the server configuration. As expected requesting a subsystem with a full path to the binary results in

sshd[24609]: subsystem request for /usr/libexec/openssh/sftp-server by user dkocher failed, subsystem not found

@cyberduck
Copy link
Collaborator Author

f200835 commented

Well, I would say the path should be configurable. It depends on the OS where the sftp-server binary is. For example, on a Debian 9 in my lab it is located at

/usr/lib/openssh/sftp-server

@cyberduck
Copy link
Collaborator Author

f200835 commented

Friendly bump on this topic :)
It would still be a great improvement to the almost perfect Cyberduck. Do you see any problem in implementing the subsystem as a configurable parameter?

@terion-name
Copy link

still needed...

@xtrimo
Copy link

xtrimo commented Jan 17, 2023

please add such a feature...

@nec-haroh
Copy link

ended up using Winscp via Parallels due to this missing feature. please add this to Cyberduck

@jetleeroy33
Copy link

jetleeroy33 commented Jun 8, 2023

I'm using Cyberduck on Mac so please add this long overdue feature for Windows and Mac...

@franklintra
Copy link

Will this ever be implemented?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement sftp SFTP Protocol Implementation
Projects
None yet
Development

No branches or pull requests

7 participants