cyberduck icon indicating copy to clipboard operation
cyberduck copied to clipboard

Add support to run subsystem with sudo

Open cyberduck opened this issue 11 years ago • 19 comments

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:

  • http://winscp.net/eng/docs/faq_su#use_sudo_on_login.

cyberduck avatar Sep 18 '14 14:09 cyberduck

4728f41 commented

+1

cyberduck avatar Sep 26 '14 14:09 cyberduck

@dkocher commented

Preference for subsystem name in 4bea50e3bd90f4b3d2c1a016f4f29645a101e14e.

cyberduck avatar Oct 14 '14 15:10 cyberduck

@dkocher commented

#9188 closed as duplicate.

cyberduck avatar Dec 30 '15 15:12 cyberduck

@dkocher commented

#9309 closed as duplicate.

cyberduck avatar Feb 27 '16 17:02 cyberduck

@dkocher commented

#10728 closed as duplicate.

cyberduck avatar Oct 01 '19 19:10 cyberduck

@dkocher commented

#11636 closed as duplicate.

cyberduck avatar Mar 29 '21 11:03 cyberduck

f200835 commented

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

cyberduck avatar Mar 29 '21 11:03 cyberduck

@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 avatar Mar 29 '21 12:03 cyberduck

@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 avatar Mar 29 '21 15:03 cyberduck

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 avatar Mar 30 '21 09:03 cyberduck

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?

cyberduck avatar Oct 01 '21 20:10 cyberduck

still needed...

terion-name avatar Jul 19 '22 15:07 terion-name

please add such a feature...

xtrimo avatar Jan 17 '23 08:01 xtrimo

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

nec-haroh avatar Jan 18 '23 02:01 nec-haroh

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

jetleeroy33 avatar Jun 08 '23 00:06 jetleeroy33

Will this ever be implemented?

franklintra avatar Aug 06 '23 09:08 franklintra