Filed Under: General

WinSCP: Define a shell – sudo

17 May 2008 No Comment Tags: , ,

One of the tools I recommend to edit the files on your server (instead of editing them directly via SSH) is WinSCP.
A necessary step if you set the crucial setting “PermitRootLogin = yes” in your ssh.conf is to switch to a specific user while loggin on. To do that you can define a shell with the following command:

 

sudo su - "user"

 

I’m going to post a screenshot of this if it requires a detailed explanation, but you should be able to find the option in the advanced menu.







Like our posts? Then subscribe via Mail:

Email:  

Similar Posts:

Socialize:

delicious stumbleupon

Leave your response!

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="">

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.com.