Arkoe
Posts: 4
Joined: Wed Oct 19, 2016 1:28 pm

Connecting through SSH

Wed Oct 19, 2016 2:14 pm

I want to connect to my Raspberry Pi using SSH. When I use 'ssh pi@65.xxx.xxx.xx -p22' it just doesnt do anything.

I have enabled SSH on the Pi using 'raspi-config' under Advanced options.

What am I missing?

User avatar
rpdom
Posts: 17274
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Connecting through SSH

Wed Oct 19, 2016 2:47 pm

If you are using Raspbian, SSH should already be enabled.

Are you trying to connect from your local network, or from an external address? 65.x.x.x looks like an external address, in which case you would have to enable port forwarding on your router to all ssh traffic in (and make sure you change the pi password before you do that!).

If you are connecting on an internal network I would have expected an address like 192.168.x.x, 10.x.x.x or 172.16-31.x.x, where you should just be able to connect without changing any settings.

User avatar
B.Goode
Posts: 10356
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Connecting through SSH

Wed Oct 19, 2016 2:52 pm

Are your 'local' ssh client machine and the 'remote' RPi both on the same local area network, and are you certain they have ip addresses of the form 65.x.x.x ?

Specifying the port for ssh is probably redundant. You could try turning on more verbose reporting with the -vvv option.

Unless this is a private home network, does the Network Administrator know what you are attempting? Maybe there is a firewall or routing block impeding the connection.
it just doesnt do anything.
Really nothing at all? Just hangs... ?

(Apologies for some non deliberate overlap with @rpdom)

Return to “Beginners”