Skip to content
Alex Baucom edited this page Mar 21, 2017 · 2 revisions

This step is not necessary but might make your life a bit easier. It's best to do this step after you have already connected to a robot at least once to verify everything works properly.

Open a terminal and enter cd ~/.ssh Then use your favorite editor to create and open a file called config - vim config will work. Paste the following into the new config file

Host ruffio
    HostName 192.168.123.117 
    User nao

Host ruffio_w
    HostName 192.168.1.117
    User nao

Host tink 
    HostName 192.168.123.116 
    User nao

Host tink_w
    HostName 192.168.1.116
    User nao

Host dickens 
    HostName 192.168.123.121 
    User nao

Host dickens_w
    HostName 192.168.1.121
    User nao

Host hook
    HostName 192.168.123.119 
    User nao

Host hook_w
    HostName 192.168.1.119
    User nao

Host pockets 
    HostName 192.168.123.120 
    User nao

Host pockets_w
    HostName 192.168.1.120
    User nao

Host ticktock 
    HostName 192.168.123.118 
    User nao

Host ticktock_w
    HostName 192.168.1.118
    User nao

Then save the file and close the editor.

Now, when you want to connect to a robot via Ethernet, you just type ssh <robot_name> such as ssh tink. Or if you are on the robocup network, you can type ssh <robot_name>_w such as ssh tink_w to connect via wifi.

Clone this wiki locally