tobikugel
Posts: 2
Joined: Sat Sep 20, 2014 9:32 am

Problems with SSH

Sat Sep 20, 2014 9:47 am

I recently started working with raspberry again and first of all i wanted to configure the SSH connection with my pc but there poped up a problem...

I already:
-enabled the SSH in raspi-config
-found out the IP with ifconfig
-reinstalled the OS serveral times even with older versions, etc...
-checked if my eth0 port is configured
-watched a lot of tutorials on youtube but noone has solved my problems

I am using Putty and when I type in my IP on port 22 the connection is always refused.

Are there any commands witch i can use to check the connection?

alpeace89
Posts: 49
Joined: Wed Dec 04, 2013 12:34 am

Re: Problems with SSH

Sat Sep 20, 2014 11:06 am

Are you using a static IP? I had some problems with this.

Alex

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Problems with SSH

Sat Sep 20, 2014 11:13 am

Can you post the output (or a screen photo) from
ifconfig -a
route -n

On your laptop the output from
ipconfig /all

Have you defined your home network as "trusted" on Windows?
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

User avatar
lmarmisa
Posts: 1265
Joined: Thu Feb 14, 2013 2:22 am
Location: Jávea, Spain

Re: Problems with SSH

Sat Sep 20, 2014 1:32 pm

Try to self-connect with ssh from your RPi. Type this command:

Code: Select all

ssh pi@localhost
Are you able to ping your RPi from Windows?.

Code: Select all

ping -t rpi_ip_here

tobikugel
Posts: 2
Joined: Sat Sep 20, 2014 9:32 am

Re: Problems with SSH

Sat Sep 20, 2014 7:27 pm

So now i already spent a lot of time with trying to solve this problem...
I succeded in connecting my RPi with the PC via a Wifi-Dongle and the SSH works.

But I want to have the SSH communication with an ethernet cable because it would be more simple.

The problem is that eth0 IP-Address doesn't appear when i use the command ifconfig.
I expect that there is an OS failure with my Ethernet-Socket...

Are there any files wich I can check?

Return to “Beginners”