On Sat, May 31, 2014 at 8:12 PM, Jeff Sickel <j...@corpus-callosum.com> wrote:
> Did you add the key to factotum _before_ using ssh2 to connect?
> I’ve always tried to get factotum to do what it’s suppose to do,
> store the key _after_ using ssh2 to connect to a remote host.

Of course you need to add the key before using ssh2, you can't type a
rsa key by hand not generate it in your head, you need to use
auth/rsagen to generate it.

This is no different then in Unix where you have to generate the
public/private key pair *before* use ssh with key authentication.

The procedure is pretty simple and is described in the "key
management" section of ssh2(1). Use auth/rsagen to generate the key
and add it to factotum, copy the public key from factotum and use
rsa2ssh2 to convert it to the format Unix ssh understands, copy public
key to .ssh/authorized_keys on the Unix host.

I use secstore to hold my key.

-- 
Aram Hăvărneanu

Reply via email to