Question

How can I safely upgrade Ubuntu?

  • Posted on September 1, 2014
  • booruguruAsked by booruguru

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 ‘1022’.

Do you want to continue?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.