Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot ssh as normal user only as root [solved]
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
Noobex
n00b
n00b


Joined: 31 Aug 2007
Posts: 51

PostPosted: Thu Jun 26, 2008 3:45 am    Post subject: Cannot ssh as normal user only as root [solved] Reply with quote

It was all working fine before but suddenly I cannot ssh as normal user to my machine. The connection is accepted but it breaks down as soon as the connection is made. There are no error messages.ssh as root works fine. I am using openssh server.

Mod. edit: mark solved, on request (below). --timeBandit
Back to top
View user's profile Send private message
JeliJami
Veteran
Veteran


Joined: 17 Jan 2006
Posts: 1086
Location: Belgium

PostPosted: Thu Jun 26, 2008 8:08 am    Post subject: Reply with quote

- please provide the sshd_config file on the server you want to connect with
- run your ssh command with the -v option to get more information on the failure
_________________
Unanswered Post Initiative | Search | FAQ
Former username: davjel
Back to top
View user's profile Send private message
Noobex
n00b
n00b


Joined: 31 Aug 2007
Posts: 51

PostPosted: Thu Jun 26, 2008 11:10 pm    Post subject: Reply with quote

Found the problem. Its rather embarassing. I was fooling around with my .bash_profile a few weeks back when I added 'logout' at the end of it. So the ssh connection was being closed as soon as the connection was being made. :oops: :oops: Please close the thread
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