How to use SCP with vyos and CMD

Hello,

Please I really need your help,

If I want to copy a key that I’m using for an Openvpn from router vyos 1 with this IP 192.168.0.249
the destination of the file is /config/auth/TEST

TEST is the name of the key

I want to use SCP to copy this key from vyos@192.168.0.249 to vyos@192.168.0.254

How I can do it on a vyos router and also cmd ?

Best Regards

vyos can use scp, but I don’t know if it can meet your requirements

From node 192.168.0.249

sudo scp /config/auth/TEST vyos@192.168.0.254:/config/auth/

1 Like

Ok so on my vyos machine I can use this command ?

Yes, you can use this command

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.