SSH-SCP /
SSH-KeysSetting up ssh keys allows you to log onto a remote computer without entering a password. Creating the key can be done from the command line of your local computer with:
which will create a new RSA private key (the metaphorical key) and a RSA public key (the metaphorical lock). (Note: you can use other encryption methods, by specifying them instead of Once you have the keys, you need to setup the public key on the remote computer. This is essentially installing the "lock" on the door of the remote computer, so that you can get in using your new key. The simplest way to do so is with:
where If you have multiple keys and want to install a specific one, you can pick which one to use with:
where You will then be prompted to ssh to the remote server to check what was installed. If you have not used a passphrase, this will be the first time you can ssh to the remote computer without entering anything but:
|