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
Address fe80::20c:29ff:fe18:687c%eth0 maps to test6, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!
root@fe80::20c:29ff:fe18:687c%eth0's password:
Last login: Mon Jan 14 07:59:08 2013 from fe80::20c:29ff:fe18:687c%eth0
[root@test ~]#
However ssh is not working with host name,though my /etc/hosts has entries.
Code:
[root@test ~]# cat /etc/hosts
### beginning of base hosts configuration ###
127.0.0.1 localhost
::1 localhost6.localdomain6 localhost6
10.55.199.113 test test
### end of base hosts configuration ###
10.55.199.113 test4 test4
fe80::20c:29ff:fe18:687c test6 test6
Could anyone pls help me in this.