Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem connecting to my machine with ssh
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
dstruthers
n00b
n00b


Joined: 27 Jul 2004
Posts: 13

PostPosted: Wed Oct 11, 2006 8:25 pm    Post subject: Problem connecting to my machine with ssh Reply with quote

I recently configured my home router to allow SSH connection attempts to pass through its firewall and forward onto my machine. Initially, this worked perfectly for accessing the shell remotely and establishing secure tunnels for a few other network protocols.

As of a few days ago, however, I am now no longer able to connect from outside of my network. To my knowledge, I have not changed any settings on my router or to sshd. sshd seems to be running fine, and I can connect to it without issue from home, so I'm just a little stumped.

Anyone have any ideas about what might be going on? Thanks!
Back to top
View user's profile Send private message
ksool
Guru
Guru


Joined: 27 May 2006
Posts: 337
Location: Cambridge, MA

PostPosted: Wed Oct 11, 2006 9:34 pm    Post subject: Reply with quote

/var/log/messages would be a good start to see if sshd is logging anything, you can change its verbosity in the sshd config files.
can you ssh to the machine from inside your network (if you have another free machine or if you put your computer in front of the router)?

what is the output when you try to connect?
Back to top
View user's profile Send private message
dstruthers
n00b
n00b


Joined: 27 Jul 2004
Posts: 13

PostPosted: Thu Oct 12, 2006 12:39 am    Post subject: Reply with quote

Wow, I'm almost too embarrassed to admit this, but I've figured out what was wrong. My IP address seems to have changed. Obviously, that should have been one of the first things to check for, but I didn't even think of it because it's never changed before.
Back to top
View user's profile Send private message
ksool
Guru
Guru


Joined: 27 May 2006
Posts: 337
Location: Cambridge, MA

PostPosted: Thu Oct 12, 2006 1:17 am    Post subject: Reply with quote

Haha. Has happened to me before as well.

You can probably check with your ISP about setting up a static ip or ddns (ip can change but you'll have a hostname.ip.com to use).
Most ISP's on dynamic ip will only change your ip if you close your connection (disconnect your router) so you should be ok.
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