Wednesday, November 18, 2009

Use ssh-copy-id on a different port

ssh-copy-id has known problems with handling non-standard ports (e.g. connecting to a different port than 22). To overcome this issue, use a command like: $ ssh-copy-id "user@host -p 6842"

35 comments:

  1. another thanks ;-)

    ReplyDelete
  2. Cheers, very helpful :-)

    ReplyDelete
  3. Yet another thanks! :)

    ReplyDelete
  4. Thank you for the information.
    I was searching an information like this, since I was moving my SSH port to another port :)

    ReplyDelete
  5. Oh! The quotes... of course! Thanks

    ReplyDelete
  6. Thanks. +8 hr. of my life.

    ReplyDelete
  7. Thanks for posting this. ssh-copy-id still has this issue over 2 years after your original post.

    ReplyDelete
  8. You're the MAN! Thanks a lot

    ReplyDelete
  9. +1 man, saved me some confusion!

    ReplyDelete
  10. Thanks, saved just a few minutes, but thanks!

    ReplyDelete
  11. This comment has been removed by the author.

    ReplyDelete
  12. Just thanks! :)

    ReplyDelete
  13. Thanks so much from Mexico

    ReplyDelete
  14. THANK YOU (from CCA http://www.cca.edu)

    ReplyDelete
  15. thanks from portland oregon

    ReplyDelete
  16. You, sir, are a gentleman and a scholar.

    ReplyDelete