SSH
How to connect to your VM using SSH
Freestyle VMs support SSH access via Freestyle Identities. Freestyle Identities can have permission to access the VM as the root user, or just as specific users.
In order to SSH into the vm as root it is accessible at {vm-id}@vm.freestyle.sh.
For example, if your VM ID is abc123 and your access token is mytoken, you would SSH into the VM using the following command:
ssh abc123@vm-ssh.freestyle.shTo SSH as a specific user, it is accessible as {vm-id}+{user}@vm-ssh.freestyle.sh.
For example, if your VM ID is abc123, your linux user is developer, and your access token is mytoken, you would SSH into the VM using the following command:
ssh abc123+developer@vm-ssh.freestyle.shFor either of these you'll be prompted for a password. Your password is a Freestyle Identity Access Token that has permission to access the VM.
Inline Auth
If you are not working in a PTY environment/do not want to be prompted for a password independently, you can also provide the access token inline in the format {vm-id}+{user}:{access-token}@vm-ssh.freestyle.sh or {vm-id}:{access-token}@vm-ssh.freestyle.sh.
ssh abc123+developer:mytoken@vm-ssh.freestyle.shssh abc123:mytoken@vm-ssh.freestyle.sh # ssh as root