cancel
Showing results for 
Search instead for 
Did you mean: 

HUB One not playing SSH with Raspberry Pi over PuTTY

only1symo
Newbie
Posts: 1
Registered: 21-01-2018

HUB One not playing SSH with Raspberry Pi over PuTTY

Hi,

 

Having trouble using my pi3 remotely when not at home.  Set up the Hub One with the pi and SSH server as recognised applications/devices and with a static IP on the router, but still can't log when in Germany using PuTTY.

 

Helps?

6 REPLIES
markhawkin
Aspiring Pro
Posts: 239
Thanks: 31
Fixes: 5
Registered: 17-07-2016

Re: HUB One not playing SSH with Raspberry Pi over PuTTY

@only1symo

 

Apologies for blindingly obvious suggestions but:

You have a static IP address or some other way of knowing the IP address of your Hub One?

Has this ever worked before? I assume you tested it from "outside" your network before you went abroad.

I tried port forwarding on the Hub One to another router (inside) and couldn't make it work.

 

 

 

 

I am the satisfied customer....
Community Gaffer
Community Gaffer
Posts: 13,431
Thanks: 1,187
Fixes: 92
Registered: 04-04-2007

Re: HUB One not playing SSH with Raspberry Pi over PuTTY

I doubt the Pi will respond to ping without you putting it in the router's DMZ and fiddling with the Pi's iptables (in fact, could the latter be what's blocking your SSH attempts?)

From first hand experience I know that what you're trying to do it definitely achievable.

Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵

markhawkin
Aspiring Pro
Posts: 239
Thanks: 31
Fixes: 5
Registered: 17-07-2016

Re: HUB One not playing SSH with Raspberry Pi over PuTTY

 @bobpullen

Yes, I came to that conclusion very quickly and edited the post!

I can't immediately think of a way of confirming how far the connection gets as the Hub One discards ping as far as I know.

 

 

I am the satisfied customer....
Community Gaffer
Community Gaffer
Posts: 13,431
Thanks: 1,187
Fixes: 92
Registered: 04-04-2007

Re: HUB One not playing SSH with Raspberry Pi over PuTTY

How long are you away for? If I get a spare minute, I can open up ping on the Hub to make sure you're able to get that far.

Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵

markhawkin
Aspiring Pro
Posts: 239
Thanks: 31
Fixes: 5
Registered: 17-07-2016

Re: HUB One not playing SSH with Raspberry Pi over PuTTY

Also, this all feels very insecure. Personally I would use a router that supports an inward VPN connection.

@bobpullen

How did you make a Pi on a Hub One work?

I am the satisfied customer....
Community Gaffer
Community Gaffer
Posts: 13,431
Thanks: 1,187
Fixes: 92
Registered: 04-04-2007

Re: HUB One not playing SSH with Raspberry Pi over PuTTY

Forwarded the port and allowed external SSH connectivity with an iptable rule. If you're planning on leaving the Pi open to the Internet, I'd suggest looking at something like fail2ban too.

Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵