<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    OpenBSD is not shipped with ssh-copy-id. But ssh-copy-id is only
    script. So if you try this:<br>
    <br>
    [root@wenca ~]# cd /usr/bin/<br>
    [root@wenca bin]# head -n 20 ssh-copy-id<br>
    #!/bin/sh<br>
    <br>
    # Shell script to install your identity.pub on a remote machine<br>
    # Takes the remote machine name as an argument.<br>
    # Obviously, the remote machine must accept password authentication,<br>
    # or one of the other keys in your ssh-agent, for this to work.<br>
    <br>
    ID_FILE="${HOME}/.ssh/identity.pub"<br>
    <br>
    you can get it. <br>
    <br>
    Regards,<br>
    <br>
    Vaclav Strachon<br>
    <br>
    On 7.10.2010 13:54, Ben McGinnes wrote:
    <blockquote cite="mid:4CADB50A.2050604@adversary.org" type="cite">
      <pre wrap="">On 7/10/10 10:23 PM, Robert P. J. Day wrote:
</pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap="">
My man page says: "~/.ssh/identity.pub"...
</pre>
        </blockquote>
        <pre wrap="">
  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.
</pre>
      </blockquote>
      <pre wrap="">
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

</pre>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
CentOS mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CentOS@centos.org">CentOS@centos.org</a>
<a class="moz-txt-link-freetext" href="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos</a>
</pre>
    </blockquote>
  </body>
</html>