Network and Storage Protocols

ssh as a domainuser to filer / rsa pubkey in cygwin

aoral
6,572 Views

Hi all,

my filer is in the windows domain WIN.

I can connect from cygwin with "ssh -l WIN\\user filer" - this works.

Now I want to generate and distribute my RSA key to filer with the following steps:

## generate the rsa key (using an empty passphrase)

ssh-keygen -t rsa

## copy the generated rsa key to my filer (via nfs mount)

cp -v  ~/.ssh/id_rsa.pub  /filer/etc/sshd/user/.ssh/authorized_keys

Now when I try to login with "ssh -v -l WIN\\user filer" or "ssh -i id_rsa.pub -v -l WIN\\user filer"  I cannot connect with my "empty passphrase",

I have to type in my password.

Any ideas?

Thanks,

Arda

11 REPLIES 11
Public