Reboot from within linode

Find it annoying that you can not reboot from within your linode, it just does a shutdown.

Well now you can.

Simply add the following to your .bashrc file or what ever shell rc file you use

alias reboot='ssh cp_username@hostxx.linode.com reboot'

changing cp_username for your cp username and hostxx for your host

the either logout and back in again or do a source .bashrc

You can now type reboot and you will be prompted for you password enter your CP password and your linode will the be rebooted. There may be a delay as it goes into the job queue. This is the same as doing a reboot from the CP.

Enjoy.

Adam

0 Replies

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct