copy ssh key to remote server
ssh-copy-id -i ~/.ssh/mykey.pub user@host
copy ssh key to remote server
ssh-copy-id -i ~/.ssh/mykey.pub user@host
how to copy ssh key
ssh-copy-id -i ~/.ssh/mykey user@host
ssh copy id to remote sever
1. ssh-keygen (press enter / do not enter any passwords)
2. ssh-keyscan hpc.university.edu > known_hosts (press enter)
3. ssh-copy-id [email protected] ( press Enter) #you might need some password to go through university VPN in this case , you can enter them )
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us