FlightAware Discussions

For Beginners - How-to SSH to RPi - Setup Putty in Windows

Great how-to. I would add the step of saving the connection settings in putty, so next time doesn’t need to type in the IP.
Of course, that means that the IP doesn’t change (static in router).

In Windows 10:
Press Win+R
Enter ssh pi@192.168.0.21

4 Likes

Thanks, didn’t know that Win 10 has embedded SSH in.

1 Like

included in the April 2018 update

4 Likes

I am getting a refused connection. I followed these instructions previously (months ago) and all worked fine. Any suggestions???

Connection refused means you somehow didn’t enable SSH on the pi.

Or SSH on the pi is not active somehow, that’s unlikely and should be fixed by just power cycling the RPi.

I deleted the SSH file and recreated it. No I get “network error software cause connection abort”

Make sure your putty version is up to date, download a current version.
Link in the first post is not the most current version but should also work.

https://the.earth.li/~sgtatham/putty/latest/w32/putty-0.71-installer.msi

Do you have a static IP in use or is it DHCP?

I have a static IP Ill reinstall putty.

By chance could it be that the static IP is in use twice?

Try a different IP and make sure it is not used.

First a correction IPs are DHCP but have never changed. I have 2 PiAware receivers. At 192.168.1.18 and 192.168.1.8. The one at .18 quit feeding flight aware but the local network display shows it is still receiving and processing data. I was trying to connect to see what is happening, but can’t connect to either PiAware. I went through the IP list on my router and there are no duplicates.

Really not sure what the problem is then.

Maybe you have McAfee firewall or another non-windows firewall enabled?

Thanks for trying. I’m going to quit for now. try again tomorrow.

1 Like


Makes one wonder… what did I miss? :rofl:

2 Likes

LOL, nothing nefarious, promise.

I’m trying.
Login: pi
Password: password
And I get: Access denied

@Tiboh

For piaware sd card image:
Login: pi
password: flightaware

For Raspbian/Raspberrypi OS image:
Login: pi
password: raspberry

 

3 Likes

Which image are you using?
The Raspberry pi image from raspberrypi.org has a default password of raspberry
https://www.raspberrypi.org/documentation/installation/installing-images/README.md

The default password for the FA image is flightaware

beaten by a few seconds :slight_smile:

2 Likes

Thank you :slight_smile: flightaware

1 Like

Give your Pi a short host name by editing /etc/hostname. (I number my hosts.)
Then in Putty I use that short host name for your pi instead of an IP.
WINS will automatically connect to the proper IP. I open Putty and enter [host name] and connect.

If you are logged in on your Windows system as user pi, use win+r and enter ssh [host name] otherwise use win+r and enter pi@[hostname].

4 Likes