.ssh/authorized_keys
directory.~/.ssh/authorized_keys
file in your account.Enter
or Return
without entering a filename.my_ssh_key
) at the prompt, and then press Enter
or Return
. However, many remote hosts are configured to accept private keys with the default filename and path (~/.ssh/id_rsa
for RSA keys) by default. Consequently, to authenticate with a private key that has a different filename, or one that is not stored in the default location, you must explicitly invoke it either on the SSH command line or in an SSH client configuration file (~/.ssh/config
); see below for instructions.Enter
or Return
. If you press Enter
or Return
without entering a password, your private key will be generated without password-protection.id_rsa
) or the filename you specified (for example, my_ssh_key
), and stored on your computer in a .ssh
directory off your home directory (for example, ~/.ssh/id_rsa
or ~/.ssh/my_ssh_key
)..pub
extension added) and stored in the same location (for example, ~/.ssh/id_rsa.pub
or ~/.ssh/my_ssh_key.pub
).~/.ssh/id_rsa.pub
) to your account on the remote system (for example, [email protected]
); for example, using command-line SCP: ~/.ssh/authorized_keys
file in your account (if your account doesn't have ~/.ssh/authorized_keys
file, system administrators can create one for you). Once your public key is added to your ~/.ssh/authorized_keys
file on the remote system, the setup process is complete, and you should now be able to SSH to your account from the computer that has your private key.~/.ssh/authorized_keys
file, create one; on the command line, enter the following commands: ~/.ssh/authorized_keys
file, executing these commands will not damage the existing directory or file.~/id_rsa.pub
) to a new line in your ~/.ssh/authorized_keys
file; on the command line, enter: ~/.ssh/authorized_keys
to make sure your public key was added properly; on the command line, enter:~/id_rsa.pub
) from your account on the remote system; on the command line, enter:.ssh
directory; on the command line, enter:[email protected]
) from the computer (for example, host1
) that has your private key (for example, ~/.ssh/id_rsa
):~/.ssh/id_rsa
), you must explicitly invoke it in one of two ways:-i
flag and the path to your private key.host2_key
, stored in the ~/.ssh/old_keys
directory, when connecting to your account on a remote host (for example, [email protected]
), enter: ~/.ssh/config
), if it exists/etc/ssh/ssh_config
)~/.ssh/config
that includes the Host
and IdentityFile
keywords.host2.somewhere.edu
, to make SSH automatically invoke the private key host2_key
, stored in the ~/.ssh/old_keys
directory, create a ~/.ssh/config
file with these lines included:Host
and IdentityFile
directives to specify a different private key for each host listed; for example: *
) to provide global defaults for all hosts (specify one private key for several hosts); for example:man ssh_config
).2048
).putty_key
), select a location on your computer to store it, and then click Save.putty_private_key
), select a location on your computer to store it, and then click Save.putty_rsa
), select a location on your computer to store it, and then click Save.~/.ssh/authorized_keys
file in your account (if your account doesn't have ~/.ssh/authorized_keys
file, system administrators can create one for you). Once your public key is added to your account's ~/.ssh/authorized_keys
file on the remote system..~/.ssh/authorized_keys
file, create one; on the command line, enter the following commands:~/.ssh/authorized_keys
, executing these commands will not damage the existing directory or file.~/.ssh/authorized_keys
file, and then save and close the file.putty_private_key.ppk
), select the file, and then click Open.Deathstar
), and then click Save.Startup
folder to launch Pageant and load your private key automatically whenever you log into your desktop. For instructions, finish the rest of the following steps.Startup
folder. Press Win-r
, and in the 'Open' field, type shell:startup
, and then press Enter
.Startup
folder, and then select New and Shortcut.pageant.exe
) followed by the path to your private key file (for example, putty_private_key.ppk
); enclose both paths in double quotes; for example: PAGEANT
).