scp and IPv6 address?

Hadmut Danisch hadmut at danisch.de
Thu Oct 20 05:50:17 EST 2005


Hi,

I was just using ssh to access an IPv6 machine. 

ssh root at 2002:1234::1 (example address) 

works, while 

scp root at 2002:1234::1:/etc/motd .

works not, scp parses this as hostname 2002 and file path 
1234::1:/etc/motd

It's a syntax problem. 

The manpage addresses this problem for -L and -R arguments, but not
for scp arguments. Any idea how to deal with this problem?

regards
Hadmut





More information about the openssh-unix-dev mailing list