In the Robolab, SSH is not only used to access Git Repositories, but also to execute your Project on the Brick, view Logs and more.
To be able to connect, your Device must be in the same Network as the Brick.
For the Robolab, we provide the Wi-Fi "Robolab Playground", the credentials can be found in the > FAQs.
To connect, you first need to find out the IP Address of your Brick.
If everything went well, it should automatically get assigned an Address in the subnet 172.30.2.0/24 with your Group ID excluding the hundreds digit (123 -> 23).
Use SSH to connect as the default user "robot" (the default password can be found under > OS):
ssh robot@172.30.2.<ID>
For security reasons, the first group member that connects to the Brick is forced to change the default password.
With Great Power Comes Great Responsibility
As you are the robot's master for the next days, the user account has been equipped with root permissions for some commands.
You can list them withsudo -land unleashes them with the prefixsudo. Make sure you know what you're doing from this point on.
As you don't want to enter your password every time you deploy to your Robot (believe me), the next step is to authorize your SSH Key for password-less login.
Use the same command as before to copy your public SSH Key, and add it to the list of authorized keys:
echo "ssh-ed25519 ... user@hostname" >> .ssh/authorized_keys
To test, log out with Ctrl+D and try to log in again. You shouldn't be ask for a password anymore.