how to use of ftp in linux to copy ssh pub key to another host
Hi I m new to linux and have a querry, hope i ll get the answer here.
I have two virtual macines in VMware for RHEL5 and I want to etablish ssh connection, for that i have created the authorization keys and now i want to copy it to remote host. For that can i use ftp? If yes how to establish connection.
Pls tell me step by step.
I use scp to copy my public keys. Since ssh has to be set up anyway, it seems the easiest way. try:
scp publickeyfile firstname.lastname@example.org:publickey
add it to your authorized_keys file by logging into the remote as you and running $ cat publickey >>.ssh/authorized_keys
If you have only one authorized_key, I would guess you could just $ mv publickey .ssh/authorized_keys, but I have several different systems.
Doing the same thing in reverse from the remote to the local allows ssh host either way without passwords.
|All times are GMT -5. The time now is 12:04 AM.|