On 14/04/2008, at 18.48, David Masover wrote:

> I know that various ssh utilities can generate a public key from a  
> private one -- I don't know the specifics, but I know that:
>
> ssh-add /some/private/key
> ssh-copy-id [EMAIL PROTECTED]
>
> The fact that this works, even if I don't currently have a public  
> key file available, proves that the ssh private key format, at  
> least, contains the information necessary to generate a public key.  
> Therefore, I would think that a quick fix might be to find out how  
> ssh does that, and simply generate a public key when needed.


 From the man-page of ssh-keygen of OpenSSH:

      -y      This option will read a private OpenSSH format file and  
print
              an OpenSSH public key to stdout.

You will need to supply the private key password to load it.

-- 
Cheers,
- Jacob Atzen


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to