{user}
represents the account you want to access.
For example, you may want to access the root user, which is basically synonymous for system administrator with complete rights to modify anything on the system. {host}
refers to the computer you want to access. This can be an IP Address or a domain name (e.g. http://www.xyzdomain.com
).
When you hit enter, you will be prompted to enter the password for the requested account. When you type it in, nothing will appear on the screen, but your password is, in fact being transmitted. Once you’re done typing, hit enter once again. If your password is correct, you will be greeted with a remote terminal window.
You can read more about SSH commands here.
Download and set up PuTTY
Configure and save keys
ssh-keygen
to store the keys in a safe location so you can bypass the login prompt when connecting to your instances.
Generate SSH key pair
ssh-keygen -t rsa
. This starts the key generation process. When you execute this command, the ssh-keygen
utility prompts you to indicate where to store the key.Press the ENTER key to accept the default location. The ssh-keygen
utility prompts you for a passphrase. Type in a passphrase. You can also hit the ENTER key to accept the default (no passphrase). However, this is not recommended. You will need to enter the passphrase a second time to continue.After you confirm the passphrase, the system generates the key pair.id_rsa
file in the .ssh
directory. Never share your private key with anyone.
Your public key is saved to the id_rsa.pub
file and is the key you upload to your Latitude.sh account. You can save this key to the clipboard by running this:
Add your SSH key to Latitude.sh