$
symbol indicates a command prompt. Everything after the $
is a command to be entered.id_rsa
and put it in the .ssh
folder in your home folder..ssh
folder hidden. To see your .ssh
folder in the Finder, press Command+Shift+G, then enter ~/.ssh
. Also! The tilde (~
) is filesystem shorthand for your user’s home folder. So when we say ~/.ssh
, that means /Users/YOU/.ssh
.id_rsa
” and the public key is “id_rsa.pub
”, and they’re both in a folder called “.ssh
” in your home folder..pub
) goes on the remote server. If your server administrator provided you with a key to use, they’ve likely already taken care of this for you. If not, you’ll need to find a way to put your public key on the server.~/.ssh/
on the remote server and look for a file called authorized_keys
or authorized_keys2
. Open that file in a text editor, and append the entire contents of your public key onto the end of the file..ssh
folder in your home folder is a good place to keep it. Enter this command to see it:.ssh
folder can contain a file called config
containing settings and preferences relating to your keys and servers. There are too many possible options to list here, and not every possibility is supported (or even practical) in every app.config
file if it doesn’t already exist.config
so that the key called exampleKey
is used when connecting with the username user
to the server example.com
.~/.ssh
, or if you use passphrase-encrypted keys, which Coda and Transmit cannot validate.config
file. There are a handful of special-snowflake situations where setting an option in the config
file is the only way to make it work. Your server administrator can guide you if problems arise.~/.ssh/known_hosts
and find the line that corresponds to your server. If you need to reset the host key for a server, just remove the entire line for that server from the known_hosts
file.ProxyCommand
are not currently supported..ssh
folder..ssh
folder.~/.ssh/
on the remote server and look for a file called authorized_keys
or authorized_keys2
. Open that file in a text editor, and paste the public key onto the end of the file.~/.ssh/
on the remote server and look for a file called authorized_keys
or authorized_keys2
. Open that file in a text editor, and paste the public key onto the end of the file.~/.ssh/
on the remote server and look for a file called authorized_keys
or authorized_keys2
. Open that file in a text editor, and paste the public key onto the end of the file.~/.ssh/config
file, skip the key button altogether, and put the passphrase in the password field.----
) into em-dashes (––
).ssh-keygen
to store the keys in a safe location so you can bypass the login prompt when connecting to your instances.ssh-keygen
utility prompts you to indicate where to store the key.ssh-keygen
utility prompts you for a passphrase.id_rsa
file in the .ssh
directory and is used to verify the public key you use belongs to the same Triton Compute Service account.Never share your private key with anyone! |
---|
id_rsa.pub
;file and is the key you upload to your Triton Compute Service account. You can save this key to the clipboard by running this:id_rsa
) does not match the public key stored with your Triton Compute Service account.triton
and CloudAPI as well as the triton-docker
commandline tool.