![]() Next you want to copy your public key file to the remote host and append it to the authorized_keys file in the. Ssh subdirectory of your home directory on the remote host (one of the jhpce login servers, e.g. You can perform the copy and append operations in one line as follows cat ~/.ssh/id_rsa.pub | ssh \ If there is no ~/.ssh directory in the remote host, you will need to login to the remote host and create a. ![]() Where you replace with your JHPCE userid and where you enter your JHPCE password when you are prompted for it by ssh. To test that everything is working you should be able to log into the remote host from your local host with the following command: ssh you start ssh, you will be prompted for the passphrase that you used to protect your key. To use ssh-agent, run ssh-add (you will be prompted for the passphrase you used) To avoid having to enter your passphrase every time you use ssh, you can use the “ssh-agent” program.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |