Hot answers tagged

1 vote

Migrate Ubuntu server from NetPlan to NetworkManager without disconnection (possibly over SSH)

I believe the fact you didn't disable systemd-networkd (I suppose) has something to do with your issue. Try this in a testing machine: install network-manager edit your netplan yaml file created by ...
1 vote

Can I know a key is copied to the server before it asks me for a password?

Just try ... if ssh -o IdentitiesOnly=yes -o BatchMode=yes -i ~/.ssh/key_name -q user@host exit; then echo "Connection succesful" else echo "Connection not succesful" fi -...
  • 25.1k

Only top scored, non community-wiki answers of a minimum length are eligible