remote.it offers a variety of ways to connect to your remote device using SSH. You can use a standalone SSH client application such as PuTTY, or command-line scripts, depending on your Operating System.
Summary: These instructions will connect a Windows 10, Mac OS X or Linux computer using a terminal window (or Windows command prompt), to a remote.it-enabled SSH service.
- Devices: All remote.it-compatible devices running an SSH server.
- Clients: Windows 10 command prompt, Mac OS/X terminal and Linux console or terminal window.
Connect to a remote.it enabled SSH Device
Sign In to your remote.it account, locate your Device in the on the Manage Devices page, and click on the device name.
You will then see a window showing the services available on that device.
Click on the service you wish to connect to, then click on "Confirm".
Web services will open directly in the browser. For all other types of services, you will see a dialog with connection details.
Select the entire line and copy it to your terminal or command prompt (don't hit ENTER yet). Now edit the word "LOGIN" (you'll need to use the left arrow and then backspace over it) and replace it with your username. The example shows the username as “ubuntu”.
Now press “Enter”. This initiates the login. You will probably see the following security message (or something similar), which is entirely normal. Type “yes” to accept the new SSH key into your key cache.
Enter your password when prompted.
Now you are logged in and can run commands as you normally would.
Transfer files to or from a remote.it Enabled SSH Device using SCP on the command line
Now you’ll need to type the scp command line using the Hostname and Port value provided. For the purpose of this example, suppose you are copying the file /home/user/info.txt to the connected device in the location /home/pi/info.txt. The correct format for the command line is:
scp -P 38400 /home/user/info.txt firstname.lastname@example.org:/home/pi/info.txt
Don’t copy this command line verbatim. Substitute the Hostname and Port provided in the SSH connection dialog, and the username on the remote system (NOT your remote.it account name). Enter your device’s password when prompted.
You may get a “permission denied” error if the remote user does not have write access to the remote folder. If you need to copy a file to a write-protected remote folder, you’ll need to first copy it to a write-enabled remote folder, then login using SSH, finally using “sudo mv” to move the file to its final destination.
For more details about using the scp command, please visit http://www.hypexr.org/linux_scp_help.php .