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]

Re: Passwordless authentication between two domains.


On 11/28/2012 12:54 PM, anulav2 wrote:
Yes, i meant passphrase.
Diff does not return anything, meaning keys are fine.
No meaning the keys are *not* fine. As I said twice now:

I believe, since these are two different domains, that the generated keys will *NOT* be the same. If they are the same then regenerate them on both machines and compare them again.

You need to read carefully. Note the *NOT* portion above. I believe that since the domains are different the ssh keys will be different. So diff should not return nothing but rather it should return that there are indeed differences between Domain A:~/.ssh/id_dsa.pub and Domain B:~/.ssh/id_dsa.pub. If not then log into Domain A and do the ssh-keygen -t dsa and then log into Domain B and do the ssh-keygent -t dsa there. They both should produce a ~/.ssh/id_dsa.pub file and those two files should be different. This would also mean that you cannot share home directories between two different domains...
And i have tried regenerating them again.
I have added rsa.pub files to authorized_keys on remote servers. No luck.



________________________________
From: Andrew DeFaria-2 [via Cygwin] <ml-node+s1069669n94591h6@n5.nabble.com>
To: anulav2 <anulav2@yahoo.com>
Sent: Wednesday, November 28, 2012 2:36 PM
Subject: Re: Passwordless authentication between two domains.


On 11/28/2012 12:21 PM, anulav2 wrote:
ssh-keygen -t dsa
and password was empty.
I believe you mean passphrase...

What about these issues I mentioned:

Additionally is ~/.ssh/id_rsa.pub the same on both machines? (Does diff
return no differences?). I believe, since these are two different
domains, that the generated keys will not be the same. If they are the
same then regenerate them on both machines and compare them again.

Also, ~/.ssh/id_rsa.pub from Domain A should be added to the
~/.ssh/authorized_keys on Domain B and visa versa from Domain B ->
Domain A.

Finally, can you do passwordless authentication between two different
machines in Domain A?

-- Andrew DeFaria <http://defaria.com> What do people in China call their good plates?


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


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