How to Sudo to Root with WinSCP
I’ve put together a quick video to show how to setup winscp so that you can log into a Linux server and change to the root user. This is the GUI equivelent of doing a ‘sudo -s’, ‘sudo su -’, or ‘su -’ as a wheel user if you’ve setup your SSHD service to deny direct root log ins by setting ‘PermitRootLogin’ to ‘no’. Every so often I will have a developer ask for escalated privileges through a GUI and this is a nice alternative in lieu of cheaply enabling root access.
While the WinSCP documentation does explains how to do this I’m hoping the video will help make setting this up a little bit easier.
http://www.youtube.com/watch?v=gozMvgsomb0






December 10th, 2009 at 2:12 pm
Thanks,
I haven’t cracked this yet, but this is a good start.
BTW,
your link to the video is wrong.
Looks like a simple typo. Oughta be:
?http://www.youtube.com/watch?v=gozMvgsomb0
December 14th, 2009 at 5:35 am
Thanks for pointing out the broken link. I didn’t catch that. :/
June 29th, 2010 at 8:20 pm
Thx for this toturial! It’s very helpful.
And what’s the command line like that you use to launch firefox, winscp in the video?
July 2nd, 2010 at 6:39 am
@hSATAC, that would be launchy. http://www.launchy.net/
January 26th, 2011 at 2:10 pm
You seem to have removed the youtube account the video was hosted on. I’m hot-to-trot to see how your video… any chance of posting some other way? Thanks, Dan
June 4th, 2012 at 9:28 am
Yep, vid’s down… I’d like to see it too