How do I transfer the static ip config file from one of my NAS server's that's configured correctly to a new one?

by trway9   Last Updated December 06, 2018 15:02 PM

I'm trying to copy the config file in //etc/netplan/50-cloud.init.yaml to my new server to set up the static IP. I tried using this command

scp "50-cloud.init.yaml" 192.168.85.17://etc/netplan 

but it gave me this error message:

ssh: connect to host 192.168.85.17 port 22: No route to host
lost connection

What's the best way to do this?

Tags : 18.04


Related Questions