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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.