Pass wordless ssh over IPv6
Hello,
I want to enable passwordless ssh over IPv6 in dual stack (both IPv4 and IPv6 coexist) environment. ssh-keygen by default using hostname from /etc/hosts file. I have enabled IPv6 on my machine and able to self ssh with IPv6 ip. Code:
[root@test ~]# ssh fe80::20c:29ff:fe18:687c%eth0 Code:
[root@test ~]# cat /etc/hosts |
I believe the problem is that you have conflicting IP numbers for the host.
It looks to me like both 10.55.199.113 and fe80::20c:29ff:fe18:687c are for the same machine. I'm basing this on the fact 10.55.199.113 are both test4 and test. Forward lookups would find the 10.55.199.113, but a reverse lookup will only find test as that is the first entry. I think that forward and reverse lookups have to match. Now whether ssh recognizes multiple IP numbers and adds all of them to the known hosts entry I don't remember. |
Yes both 10.55.199.113 and fe80::20c:29ff:fe18:687c are same machine. I have no issues over Ipv4 for resolution. However with Ipv6 its not working though I have added it in /etc/hosts files.
|
All times are GMT -5. The time now is 01:36 AM. |