How can I safely upgrade Ubuntu?

Posted September 1, 2014 11.8k views

Apparently the command “do-release-upgrade” is not advisable over SSH:

Continue running under SSH?

This session appears to be running under ssh. It is not recommended
to perform a upgrade over ssh currently because in case of failure it
is harder to recover.

If you continue, an additional ssh daemon will be started at port

Do you want to continue?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

That warning is simply letting you know that if you update SSH while you are connected, you might lose your connection. If that happens, a second ssh session has been opened on another port that you can connect to using:

ssh -p 1022 user@your.ip.address

Additional, the console in the DigitalOcean control panel connects to the droplet directly. If you lose connectivity over the network, you can always fall back to the console.