Python Paramiko And IPV6 SSH
I have to write a script that executes some commands on a remote machine using SSH. I had used paramiko for this and everything worked as long as I used IPv4 addressing. I had to s
Solution 1:
You have to specify the interface name as well.
ip6_addr = 'fe80::1112:bcde:789a:1234%<interface>'
Following example is valid IPv6:
ip6_addr = 'fe80::1112:bcde:789a:1234%eth0'
Solution 2:
On my Python2.7.9 (which is also not the latest) and paramiko-1.15.2, I have no Problems.
Have you tried upgrading paramiko?
pip install --upgrade paramiko
EDIT: Another idea, maybe your kernel does not support ipv6. How to test from userspace if the kernel supports IPv6?
Post a Comment for "Python Paramiko And IPV6 SSH"