How can the IPv6 address be specified with scp, sftp, and ssh?

Updated -

Resolution:

IPv6 addresses can be specified by enclosing addresses in square brackets like [fe80::219:99ff:fe20:c251].

#scp -6 ./file root@[fe80::219:99ff:fe20:c251%eth0]:/file
root@fe80::219:99ff:fe20:c251%eth0's password:
file                                                                    100%    0     0.0KB/s   00:00
...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content