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"

14 comments:

  1. another thanks ;-)

    ReplyDelete
  2. Ditto that. =)

    ReplyDelete
  3. Cheers, very helpful :-)

    ReplyDelete
  4. Yet another thanks! :)

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

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

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

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

    ReplyDelete
  9. thanks a lot!!

    ReplyDelete