SSH, or Secure Socket Shell, is a network protocol that allows you to connect to other computers by establishing a terminal session. SSH is often used to connect to a machine in your local network or access a server with a public static ip address.
In this page, you will see how you can utilize IoTFlows to securely SSH to your private devices over the internet even if they don't have a public static ip address or if they are behind NAT/Firewall.
To SSH into your device over the internet, you first need to have your device connected to IoTFlows cloud. If you haven't already done so, connect your device. Once your device is connected and its green light is visible, navigate to Remote Connections tab.
In Remote Connections page, you can see the list of secure remote connections for this device. If you don't have a SSH connection, create one by clicking on Add Remote Connection, SSH, and CREATE.
Ensure your device is connected to the cloud by checking if you see the green light on the device page, Enable the SSH connection in the Remote Connections tab, and hit Connect.
A modal window will be shown with the instructions on how to SSH to your device. Simply copy and paste the given command in a Terminal or PowerShell to connect to your device. You might need to replace "username" with the desired username that you want to connect to on your device. For virtual devices, the username is "iotflows" and there's no need to change the command.
You'll be prompted to enter the password for your username. The default password for virtual devices is "password". Enter the password and hit enter and your ssh connection will be established.