D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Default gateway disappears when a root SSH putty connection is used?

 

On Mon, Jan 26, 2009 at 10:08 PM, Sam Grabham <sam@xxxxxxxxxxxxxxxxx> wrote:
> Hi
>
> I have a strange problem i am currrenly looking at, when a root user
> connects via a windoze/putty connection, the default gateway is removed. If
> you connect with another user the gateway remains.
>
> Have looked at the files in the /root folder, profiles etc. Started to look
> into the sysctl file and /etc/ssh etc.
>
> Does any one know of a url that explains a step by step on scripts called
> when ssh console opened?
>
>
> Regards
>
>
> Sam
>

sshd_config should do the trick..

If you search ssh as root no gateway you will find this link:

http://www.askdavetaylor.com/how_do_i_enable_root_login_with_ssh.html

They also stress this is a bad idea, just as Grant has.  It is better
to connect then sudo.

regards,

KevinT

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html