To accomplish some of the more advanced tutorials with Pantavisor, you may need to access your Raspberry Pi via SSH. While many of our users will be SSH’ing from a Linux computer, some may need to do it from a Windows system. Accessing your Pantavisor-enabled device is slightly different on Windows, so we’ve put together this simple guide to show you how it’s done.
First you’ll need an SSH client. We recommend and will use PuTTY as an example. If you are using a different SSH client, you’ll need to adapt the steps in this guide accordingly.
You can download PuTTY and install it.
Once Putty is installed you’ll need to use PuTTYgenfirst to generate your keys. Open PuTTYgen (fig. 1)
Change the Number of bits in a generated key to
4096, the rest of the default values should be fine.
Click Generate and move your mouse around a bit as instructed.(fig. 2)
Click Save Private Key and save the key to your PC
Copy the long string of text in the window.(fig. 3)
- Go to Pantacor Hub and login or sign up. If you haven’t yet installed Pantavisor onto your device, follow this guide: Install Pantavisor Linux onto your embedded Linux device.
- Find your device in Pantacor Hub and then select the Metadata Tab.
- Add a new entry to the metadata titled:
- Add the Public Key you copied as the value and click the + button. (fig. 4)
- Open up Putty, expand the SSH category and click on Auth. Then click the Browse button and select the Private key file you saved earlier. (fig. 5)
- Click the Session category and enter the IP address of your Raspberry Pi on your local network (if you don’t know it you can look at existing connections on your router. Make sure to change the Port to 8222.
- Name the connection and click Save to save the settings for the future (it’s recommended that you name the settings after your randomly generated device name in Pantacor Hub)
- Finally, click Open to open the SSH connection. (fig. 6)
- You’ll login with the name of the container as it appears in the Pantacor Hub on the Apps tab. (fig. 7 & 8)
That’s it! You should now be logged into your App Container via SSH. If you have any problems reach out and we’d be happy to help.