Some family members asked me to help configuring WinSCP. They need to connect to multiple servers some of which are dual stack and some which are IPv6-only.
What we did so far is the following:
- Install WinSCP from https://winscp.net/
- Generated a keypair
- Saved different combinations of hostname and username in the
Loginwindow.
This works great for connecting to dual stack hosts. But attempting to connect to any IPv6-only host results in the error message:
Host "hostname.example.net" does not exist.
But the hostname I am using is correct. For further investigation I have connected an Ubuntu 14.04 machine to the same LAN. And on the Ubuntu machine I type:
ssh hostname.example.net
The Ubuntu machine connects to the very same hostname without any problem.
I looked at the network configuration and on both machines I observe the same:
- The wireless interface has an IPv4 address
- The wireless interface has no IPv6 address
- There is a Teredo interface which has successfully acquired a correct IPv6 address
The IPv6-only servers which we need to connect to are on a LAN with a dedicated Teredo relay, so a reliable connection should possible, and indeed it works from the Ubuntu client.
What do we need to change in the configuration of Windows and/or WinSCP to successfully connect to an IPv6-only host?
(Teredo is not a requirement if there are better alternatives. It just happens to be the only IPv6 address configured on the Windows machine by default.)