Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sshd problems (stopped but says it's started) can't ssh into
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
ck42
l33t
l33t


Joined: 31 Jul 2003
Posts: 789

PostPosted: Mon Mar 21, 2005 2:04 am    Post subject: sshd problems (stopped but says it's started) can't ssh into Reply with quote

I can ssh out just fine but trying to ssh into the box always gives the "connection refused" message.

If I check the status of sshd, it says it's running. If I try to stop it, it gives the !! and the status says it's still started. I've zap'd it but as soon as I say to start it again, the whole process is back to square one. I've reemerged openssh and rebooted for grins. Still no sshd luvin.

Normally, ssh is a no brainer on my gentoo boxen. Not sure what's up here.:?
Back to top
View user's profile Send private message
KsE
Apprentice
Apprentice


Joined: 18 Mar 2003
Posts: 269
Location: St. Cloud, MN

PostPosted: Mon Mar 21, 2005 2:25 am    Post subject: Reply with quote

What do the logs say?

Do you have any sort of firewall running?

Are you trying to connect as root, and have no root logins enabled?
Back to top
View user's profile Send private message
ck42
l33t
l33t


Joined: 31 Jul 2003
Posts: 789

PostPosted: Mon Mar 21, 2005 2:45 am    Post subject: Reply with quote

Log situation is a little weird right now. Tons of files in there starting with 4 digit numbers. It's like every app has it's own log file or something. The openssh one doens't show anything interesting.

No firewall between the two boxen in question.
Not trying to connect as root (although tried anyway when found things not working).
Back to top
View user's profile Send private message
ck42
l33t
l33t


Joined: 31 Jul 2003
Posts: 789

PostPosted: Mon Mar 21, 2005 3:05 am    Post subject: Reply with quote

Never mind. got it.

tail'd the messages and found that when I tried to fire up sshd, it was trying to bind to the wrong IP address (sshd_config's listenaddress param)

thnx.
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