This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

SSH Rsa key weirdness.


I am attempting to use RSA keys to connect to a user, from a remote box.

RSA keys are created on my main machine instead of the cygwin machine.
Normally I copy them over and change permissions, authorized_keys, auth
against the .pub and it works.

If I copy my authorized_keys file over and change permissions it fails to
auth with the .pub.

If i run:
ssh-user-config

As the user im trying to auth to it works 100%, with my key [not
ssh-user-configs].

If i remove all id* files ssh-user-config created it works.

If i rm -rf /home/user/.ssh/*
And copy my key back over it fails to work.

Any ideas why I have to run ssh-user-config? Any ideas on a way around this?

Thanks.

CYGWIN makes Windows work a lot easier for Linux guys like me :)



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]