SSH/TelnetNetwork

Use IPv6 address be specified with scp, sftp and ssh

We can use scp, sftp, and ssh on networks using IP version 6, or IPv6, by enclosing the IPv6 address in [ ]. For example, to connect with scp, sftp, or ssh to fe80::219:99ff:fe20:c251, enter the commands shown below.

#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
EOF.← Back to articles