On Wed, Oct 19, 2005 at 09:50:17PM +0200, Hadmut Danisch
wrote:> 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?
scp root@\[2002:1234::1\]:/etc/motd .
works for me.
bye,
Harold