Using SSH Keys w Keychain

OpenSSHcomeswithacommandtodothis,ssh-copy-id.Youjustgiveittheremoteaddressanditaddsyourpublickeytotheauthorized_keysfileontheremotemachine:$ssh-copy-idtim@just.some.other.serverYoumayneedtousethe-iflagtolocateyou。參考影片的文章的如下:


參考內容推薦

How do you copy the public key to a ssh

OpenSSH comes with a command to do this, ssh-copy-id. You just give it the remote address and it adds your public key to the authorized_keys file on the remote machine: $ ssh-copy-id [email protected] You may need to use the -i flag to locate you

sshcopyidauthorized_keys

OpenSSHcomeswithacommandtodothis,ssh-copy-id.Youjustgiveittheremoteaddressanditaddsyourpublickeytotheauthorized_keysfileontheremotemachine:$ssh-copy-idtim@just.some.other.serverYoumayneedtousethe-iflagtolocateyou