Page 1 of 1

Problems with SSH

Posted: Sat Sep 20, 2014 9:47 am
by tobikugel
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?

Re: Problems with SSH

Posted: Sat Sep 20, 2014 11:06 am
by alpeace89
Are you using a static IP? I had some problems with this.

Alex

Re: Problems with SSH

Posted: Sat Sep 20, 2014 11:13 am
by DougieLawson
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?

Re: Problems with SSH

Posted: Sat Sep 20, 2014 1:32 pm
by lmarmisa
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

Re: Problems with SSH

Posted: Sat Sep 20, 2014 7:27 pm
by tobikugel
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?