On Sun, 15 Jun 2008, Philip Guenther wrote:
> ssh-keygen's -l option is not designed for operation with pipes.  In
> particular, depending on the key type in the file, it generally needs
> to open and read the file multiple times.  That is, it first passes
> the filename to the "read file as RSA1 private key" routine; if that
> fails then it passes the filename to the "read file as RSA1 public
> key" routine, etc.

Out of curiosity why not have ssh-keygen buffer the key and then work on
it?  That would be one way to have it work with pipes.

Regards,
-Lars

Lars NoodC)n ([EMAIL PROTECTED])
         Ensure access to your data now and in the future
         http://opendocumentfellowship.org/about_us/contribute

Reply via email to