Forum Discussion
lekshmanan
Sep 06, 2022Copper Contributor
Need help for ipv6 support for linux
I am using the posh-sh module to connect a remote Linux machine. It works well in ipv4 but not in ipv6. Do I need to enable or configure anything in posh-ssh? Note: Ipv6 is configured on ...
Sep 06, 2022
I only did it using IPv4 in the past (Wrote a blog about it actually, https://powershellisfun.com/2022/05/26/powershell-remoting-to-linux-servers-using-ssh/ )
Can you SSH to it using IPv6? (https://www.cyberciti.biz/faq/linux-bsd-unix-configuring-ssh-listen-ipv6-addresses/)
Can you SSH to it using IPv6? (https://www.cyberciti.biz/faq/linux-bsd-unix-configuring-ssh-listen-ipv6-addresses/)
- lekshmananSep 06, 2022Copper Contributor
Harm_Veenstra connect ssh using ipv6 is working fine. I log in using putty and using the ping command to verify also. I doubt whether the posh-ssh supports ipv6 or not.
- Sep 06, 2022Not sure if the openssh in Windows can, but that's the one that I used for my blog post
- lekshmananSep 12, 2022Copper Contributor
Finally It worked.
i done the below command on ubandu serverip -6 addr flush dev eth0 scope link
ip -6 link set eth0 upnow connected using the below command.
New-SSHSession -ComputerName 2001:0db8:85a3:0000:0000:0000:0000:0003 -Credential $RemoteCredential -ConnectionTimeout 10000
**SessionId Host Connected