ssh problem

This forum is for topics dealing with problems with software specifically in the ARMv6h repo.

ssh problem

Postby SkyboyLP » Sat Mar 26, 2016 10:21 am

So I want to ssh into my pi from outside of the lan. And i read some stuff online and checked my pi's external ip adress
lets its 95.33.18.232. I can ping x but if i try to ssh into it it says
$this->bbcode_second_pass_code('', 'ssh: connect to host 95.33.18.232 port 22: No route to host')
I configured the connection with netctl this is what my profile looks like
$this->bbcode_second_pass_code('', '
Description='A basic static ethernet connection'
Interface=eth0
Connection=ethernet
IP=static
Address=('192.168.178.200/24')
#Routes=('192.168.0.0/24 via 192.168.1.2')
Gateway='192.168.178.1'
DNS=('192.168.178.1' '8.8.8.8' '8.8.4.4')


## For IPv6 autoconfiguration
#IP6=stateless

## For IPv6 static address configuration
#IP6=static
#Address6=('1234:5678:9abc:def::1/64' '1234:3456::123/96')
#Routes6=('abcd::1234')
#Gateway6='1234:0:123::abcd'
')
I also opened port 22 on my router and forwarded it to the pi
How can I reach my Pi from external devices?
I also have it setup with a login key instead of a password if that matters
SkyboyLP
 
Posts: 6
Joined: Fri Mar 25, 2016 9:49 am

Re: ssh problem

Postby graysky » Sat Mar 26, 2016 11:53 am

Try using a non-standard port (higher number) as some ISPs block ports <1024
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: ssh problem

Postby SkyboyLP » Sat Mar 26, 2016 1:31 pm

k got it working it somehow changed the external ip
SkyboyLP
 
Posts: 6
Joined: Fri Mar 25, 2016 9:49 am


Return to ARMv6h

Who is online

Users browsing this forum: No registered users and 6 guests