Scp -P 97 id_rsa_secret.pub remote_host:~/.ssh/ Note, if there is an obscure ssh port (like 97) then you would use: Scp id_rsa_secret.pub remote_host:~/.ssh/ Your public key has been saved in /Users/ you/.ssh/id_rsa_secret.pub. Your identification has been saved in /Users/ you/.ssh/id_rsa_secret. your laptop/desktop at home):Įnter file in which to save the key (/Users/ you/.ssh/id_rsa): hit enter or specify a different directoryĮnter passphrase (empty for no passphrase): Your very very difficult to hack passwordĮnter same passphrase again: Your very very difficult to hack password again On the machine that you will be sshing from (ie. For all the following examples you is the user’s name that needs the ssh key and anything italicized is an example or comment (just in case you get confused).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |