Shell/Bash: copy ssh key to remote server Example

By

Shell/Bash Example: This is the "copy ssh key to remote server" Example. compiled from many sources on the internet by SimpleTutorials.org

copy ssh key to remote server

ssh-copy-id -i ~/.ssh/mykey.pub [email protected]

copy ssh keys

pbcopy < ~/.ssh/id_rsa.pub

copy ssh remote server

scp -r /path/to/local/dir [email protected]:/path/to/remote/dir



* Summary: This "copy ssh key to remote server" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others