Dez 23
ssh-copy-id mit einem anderem Port als 22
ssh-copy-id hat laut man leider kein Parameter für einen Port. Nutzt aber zur Ausführung den normalen SSH.
Somit kann man recht einfach einen Parameter an SSH übergeben:
ssh-copy-id -i /path/to/id_foobar.pub "-p 2222 user@server"
via Hint: ssh-copy-id and different ssh port | Julian Joswig.
Posted in: Blogroll.
This entry was posted
on Mittwoch, Dezember 23rd, 2009 at 12:28 and is filed under Blogroll.
You can follow any responses to this entry through the RSS 2.0 feed.
You can skip to the end and leave a response. Pinging is currently not allowed.