OpenBSD is not shipped with ssh-copy-id. But ssh-copy-id is only script. So if you try this:
[root@wenca ~]# cd /usr/bin/ [root@wenca bin]# head -n 20 ssh-copy-id #!/bin/sh
# Shell script to install your identity.pub on a remote machine # Takes the remote machine name as an argument. # Obviously, the remote machine must accept password authentication, # or one of the other keys in your ssh-agent, for this to work.
ID_FILE="${HOME}/.ssh/identity.pub"
you can get it.
Regards,
Vaclav Strachon
On 7.10.2010 13:54, Ben McGinnes wrote:
On 7/10/10 10:23 PM, Robert P. J. Day wrote:
My man page says: "~/.ssh/identity.pub"...
argh ... sorry, i was logged into the wrong system when reading the man page, i was connected to my ubuntu system. interesting that different distros have different default files for the same command. i will definitely remember that.
Slackware also says ~/.ssh/id_rsa.pub, so chances are this is (another) Red Hat/CentOS specific modification. Anyone got an OpenBSD box to double-check on?
Regards, Ben
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos