Using Ssh
Back to current versionRestore this version

This is a recipe on how to connect to a robot remotely using ssh.

Yes, this is another task. Once it's done we can remove the 'task' tag.

Copying the Public Key using SSH Tools#

On your Linux device (e.g., a desktop computer or a Raspberry Pi), run the following command. Make sure that you replace IP_ADDRESS with the IP address of the remote machine that you want to copy the keys to.

Please note that you will be asked to log in with both your username and password for that remote machine as the tool needs these to copy over your public key.

ssh-copy-id -i ~/.ssh/id_rsa IP_ADDRESS

If the username of the host is not the same as the client you should use "USERNAME@IP_ADDRESS".

Once done, this tool will automatically add your public key to the authorized_keys file on the remote machine.


Tags:  Recipe, Task