ssh-copy-id when have several pub keys

#StandWithUkraine
Today, 4th December 2022, Ukraine is still bravely fighting for democratic values, human rights and peace in whole world. Russians ruthlessly kill all civilians in Ukraine including childs and destroy their cities. We are uniting against Putinโ€™s invasion and violence, in support of the people in Ukraine. You can help by donating to Ukrainian's army.

When you have several pub keys use -i option to select one:

ssh-copy-id -i ~/.ssh/id_rsa.pub [email protected]
#ssh
0
Ivan Borshchov profile picture
Dec 28, 2016
by Ivan Borshchov
Did it help you?
Yes !
No

Best related