Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SSH Session Kicking Root User Out Immediately after login...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ckoeber
Apprentice
Apprentice


Joined: 21 May 2007
Posts: 156

PostPosted: Sun Nov 25, 2012 10:03 pm    Post subject: SSH Session Kicking Root User Out Immediately after login... Reply with quote

Hello,

I have a Gentoo Box which every time I try and log in as the root user via ssh it kicks me out immediately after successfully authenticating.

I can log in with no issue using console.

What causes that and how can I fix it?

Thanks.

Regards,
Christopher Koeber
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Sun Nov 25, 2012 10:39 pm    Post subject: Reply with quote

post the output of of try:
Code:
ssh -v user@host

_________________
The End of the Internet!
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7328
Location: Saint Amant, Acadiana

PostPosted: Sun Nov 25, 2012 10:51 pm    Post subject: Reply with quote

Most *nix'es come with remote root logins disabled by default. Which is a wise thing. Maybe Gentoo has joined the noremoterootlogin ranks.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
ckoeber
Apprentice
Apprentice


Joined: 21 May 2007
Posts: 156

PostPosted: Mon Nov 26, 2012 1:17 am    Post subject: Reply with quote

truc wrote:
post the output of of try:
Code:
ssh -v user@host


I was using Putty on Windows so that option wasn't available.

However, it was an easy fix; just remove the corresponding host keys in the registry and reconnect!.

Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum