Open enko opened 5 years ago
@enko We've recently fixed working with IPv6. https://github.com/gravitational/teleport/pull/2867 You can wait until the next build, or build from master to see if this resolves this issue for you.
@benarent can this issue be closed?
In addition to putting the IPv6 address inside of square brackets, at least in powershell on windows, the letters in the IPv6 address must be uppercase.
What happened:
I try to download a file via scp and it fails with a empty error message. This only happens on a ipv6 host, if I use an ipv4 host it works like a charm. It does not matter if I use the web interface or the tsh client, the result is the same.
What you expected to happen:
The file should be downloaded.
How to reproduce it (as minimally and precisely as possible):
Run a node on ipv6 and try to use
tsh scp
to download a file.Environment:
teleport version
): 3.2.4tsh version
): 3.2.4Relevant Debug Logs If Applicable
Educated Guess
I think this could happen because the address is not escaped properly or is not put in square brackets. I could provide inside if you could tell me to how to enable the logging in https://github.com/gravitational/teleport/blob/master/lib/sshutils/scp/scp.go#L177.