tomgravell
Posts: 15
Joined: Mon Oct 01, 2012 3:29 pm

SSH from external connection not working

Thu Feb 21, 2013 12:12 pm

I'm completely lost here, let me explain..!

I have my raspberry pi set with raspbian installed, set as a webserver.
I've had a problem for a while in using SSH from my work machine in that the connection is refused.
I am using no-ip as my external ip is dynamic but I cannot connect with my no-ip address or my IP.
It's fine on the internal network though. My port forward is set up correctly and it has worked previously.
It's set on port 22 and my sshd_config is looking at port 22.

I've also today realised that my webserver on port 80 is not working which I am still trying to figure out as that has always worked!

Where do I go from here? I can't find anything else to check. I've already tried changing to a different port but with the same problem.

User avatar
RaTTuS
Posts: 10484
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK

Re: SSH from external connection not working

Thu Feb 21, 2013 12:24 pm

check and double check your public IP address and the no-ip address and make sure they are the same
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

tomgravell
Posts: 15
Joined: Mon Oct 01, 2012 3:29 pm

Re: SSH from external connection not working

Thu Feb 21, 2013 12:33 pm

Yeah they're both the same :(

User avatar
RaTTuS
Posts: 10484
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK

Re: SSH from external connection not working

Thu Feb 21, 2013 12:50 pm

ok - see if someone else can see and it's not your work connection or maybe it is your ISP blocking
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

tomgravell
Posts: 15
Joined: Mon Oct 01, 2012 3:29 pm

Re: SSH from external connection not working

Thu Feb 21, 2013 1:01 pm

I've tried it from the terminal on my phone which timed out rather than being refused, and the wireless connection at work which is a direct link to the outside world which also times out

wimble
Posts: 34
Joined: Tue Feb 05, 2013 9:52 am

Re: SSH from external connection not working

Thu Feb 21, 2013 1:30 pm

tomgravell wrote:My port forward is set up correctly and it has worked previously.
Are you really sure about that? The implication is that it's *not* set up properly.

tomgravell
Posts: 15
Joined: Mon Oct 01, 2012 3:29 pm

Re: SSH from external connection not working

Thu Feb 21, 2013 4:44 pm

Yeah, I've just removed it all and set it up again but it's not playing ball. I've used whatsmyip.org/port-scanner to scan ports 22 and 80 and both time out.

Return to “Raspbian”