ssh key exchange script

Maemo pc-connectivity project provides a nice script to exchange ssh keys between two machines (e.g PC and N8×0). A passwordless ssh login is a good idea to speed up development and crucial to some tools like sbrsh. To use the script is very simple:

1. Download its debian package from here and install it

- Or download the script itself from here and copy it to one folder in the path, e.g. /usr/bin or /usr/local/bin.

2. Run the script:

$ ssh-key-exchange -l <local_pc_ip> -r <remote_device_ip> -u <device_user>

Host Address: 192.168.1.1 <local_pc_ip>
Target Address: 192.168.1.2 <remote_device_ip>
Target User: root <device_user>

Adding trusted host to ‘known hosts’…OK!
Exporting identity to remote host…root@192.168.1.2’s password:
OK!
Verifying remote user identity and creating it if necessary (this may take a few minutes)…OK!
Authorizing remote host key…OK!

Done. See /tmp/exchange-ssh-key.log and /tmp/exchange-ssh-key.log.err for detailed information
Please, check if everything is correctly by connect to the remote host via SSH.

9 Responses to “ssh key exchange script”

  1. KrisBelucci says:

    Great post! Just wanted to let you know you have a new subscriber- me!

  2. I really liked this post. Can I copy it to my site? Thank you in advance.

  3. Kelly Brown says:

    I really like your post. Does it copyright protected?

  4. Melunko says:

    Hi Kelly, there is no copyright problem. You can use the text as you want, but please, keep the author name.
    Br, Hallyson

  5. JaneRadriges says:

    Hi, gr8 post thanks for posting. Information is useful!

  6. Hi, interest post. I’ll write you later about few questions!

  7. nice! i’m gonna make my own blog

  8. GarykPatton says:

    Hello. I think the article is really interesting. I am even interested in reading more. How soon will you update your blog?

  9. Kylie Batt says:

    Браво, замечательная фраза и своевременно…

    Maemo pc-connectivity project provides a nice script to exchange ssh keys between two machines (e.g PC and N8×0)…..

Leave a Reply