Connect to a Linux Machine with Password
There are two authentication options you can choose from when creating a machine:
- Recommended: Upload your SSH keys to the machine during provisioning. This option is covered in this guide.
- Alternatively, you can opt to receive the root Linux password via email.
While you are creating a new machine, select the password option under the authentication section.
After your machine has completed
provisioning, you will receive a password via email. This is the root password on your new machine. The subject of the email is "Your new Paperspace Linux machine is ready." Note: This is a separate email from your receipt which you will also receive after creating a machine.
If you disable start immediately during machine creation, your password will not be sent until the machine starts for the first time.
You will need a dynamic or static Public IP address in order to remotely connect to your remote machine.
From your local terminal, you can initiate an SSH connection using the public IP address assigned to the machine, the
paperspace user, and the password contained in the email. In the email, you will also find the connection string which you can copy and then paste in your terminal. Based on the screenshot above, you would enter:
If you've never connected to this machine, you may be prompted to agree to continue by typing yes in your terminal.
Then, you would enter the password contained in the email and you should be connected.