All eHosting Virtual Private Servers have SSH enabled to allow command line management of the servers. You are able to update, reboot and shutdown your server from the command line.
Feature Tutorial – https://tonyteaches.tech/putty-ssh-windows-tutorial/
On Windows client computers, we suggest using Putty (available from https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html) – A tutorial is available here.
Following is an example of updating the server and completing a reboot – commands typed in are in bold text.
Welcome to Ubuntu 22.04.6 LTS (GNU/Linux 5.4.0-141-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage 27 packages can be updated. 20 updates are security updates. New release '24.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Fri Jan 11 11:24:11 2024 from X.X.X.X vpsuser@server:~
nbsp;sudo apt update ; sudo apt -y upgrade ; sudo apt autoremove
[sudo] password for vpsuser: password
Hit:1 http://apt.vestacp.com/xenial xenial InRelease
Hit:2 http://nginx.org/packages/mainline/ubuntu xenial InRelease
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Hit:4 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:5 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Fetched 323 kB in 3s (83.5 kB/s)
Reading package lists… Done
Building dependency tree
Reading state information… Done
27 packages can be upgraded. Run ‘apt list –upgradable’ to see them.
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following packages will be upgraded:
ca-certificates initramfs-tools initramfs-tools-bin initramfs-tools-core
krb5-locales libcups2 libcupsimage2 libgssapi-krb5-2 libk5crypto3 libkrb5-3
libkrb5support0 libpam-systemd libpolkit-agent-1-0 libpolkit-backend-1-0
libpolkit-gobject-1-0 libsystemd0 libudev1 php-pear policykit-1
python3-software-properties qemu-guest-agent software-properties-common
systemd systemd-sysv tzdata udev update-notifier-common
27 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Need to get 7,061 kB of archives.
After this operation, 214 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libsystemd0 amd64 229-4ubuntu21.15 [204 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpam-systemd amd64 229-4ubuntu21.15 [115 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 systemd amd64 229-4ubuntu21.15 [3,805 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 udev amd64 229-4ubuntu21.15 [992 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libudev1 amd64229-4ubuntu21.15 [54.1 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 initramfs-toolsall 0.122ubuntu8.14 [8,938 B]
Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 initramfs-tools-core all 0.122ubuntu8.14 [44.9 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 initramfs-tools-bin amd64 0.122ubuntu8.14 [9,776 B]
Get:9 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 systemd-sysv amd64 229-4ubuntu21.15 [11.6 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 update-notifier-common all 3.168.10 [163 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 tzdata all 2018i-0ubuntu0.16.04 [168 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ca-certificates all 20170717~16.04.2 [167 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 krb5-locales all 1.13.2+dfsg-5ubuntu2.1 [13.6 kB]
Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgssapi-krb5-2 amd64 1.13.2+dfsg-5ubuntu2.1 [120 kB]
Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libkrb5-3 amd64 1.13.2+dfsg-5ubuntu2.1 [273 kB]
Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libkrb5support0 amd64 1.13.2+dfsg-5ubuntu2.1 [31.2 kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libk5crypto3 amd64 1.13.2+dfsg-5ubuntu2.1 [81.3 kB]
Get:18 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpolkit-gobject-1-0 amd64 0.105-14.1ubuntu0.4 [36.6 kB]
Get:19 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libcupsimage2 amd64 2.1.3-4ubuntu0.7 [16.1 kB]
Get:20 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libcups2 amd642.1.3-4ubuntu0.7 [197 kB]
Get:21 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpolkit-agent-1-0 amd64 0.105-14.1ubuntu0.4 [14.8 kB]
Get:22 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpolkit-backend-1-0 amd64 0.105-14.1ubuntu0.4 [36.0 kB]
Get:23 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 php-pear all 1:1.10.1+submodules+notgz-6ubuntu0.1 [284 kB]
Get:24 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 policykit-1 amd64 0.105-14.1ubuntu0.4 [52.8 kB]
Get:25 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 software-properties-common all 0.96.20.8 [9,440 B]
Get:26 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3-software-properties all 0.96.20.8 [20.2 kB]
Get:27 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 qemu-guest-agent amd64 1:2.5+dfsg-5ubuntu10.34 [132 kB]
Fetched 7,061 kB in 13s (517 kB/s)
Preconfiguring packages …
(Reading database … 122303 files and directories currently installed.)
Preparing to unpack …/libsystemd0_229-4ubuntu21.15_amd64.deb …
Unpacking libsystemd0:amd64 (229-4ubuntu21.15) over (229-4ubuntu21.10) …
Processing triggers for libc-bin (2.23-0ubuntu10) …
Setting up libsystemd0:amd64 (229-4ubuntu21.15) …
Processing triggers for libc-bin (2.23-0ubuntu10) …
(Reading database … 122303 files and directories currently installed.)
Preparing to unpack …/libpam-systemd_229-4ubuntu21.15_amd64.deb …
Unpacking libpam-systemd:amd64 (229-4ubuntu21.15) over (229-4ubuntu21.10) …
Preparing to unpack …/systemd_229-4ubuntu21.15_amd64.deb …
Unpacking systemd (229-4ubuntu21.15) over (229-4ubuntu21.10) …
Processing triggers for man-db (2.7.5-1) …
Processing triggers for ureadahead (0.100.0-19) …
Processing triggers for dbus (1.10.6-1ubuntu3.3) …
Setting up systemd (229-4ubuntu21.15) …
addgroup: The group `systemd-journal’ already exists as a system group. Exiting.
[/usr/lib/tmpfiles.d/var.conf:14] Duplicate line for path “/var/log”, ignoring.
(Reading database … 122303 files and directories currently installed.)
Preparing to unpack …/udev_229-4ubuntu21.15_amd64.deb …
Unpacking udev (229-4ubuntu21.15) over (229-4ubuntu21.10) …
Preparing to unpack …/libudev1_229-4ubuntu21.15_amd64.deb …
Unpacking libudev1:amd64 (229-4ubuntu21.15) over (229-4ubuntu21.10) …
Processing triggers for ureadahead (0.100.0-19) …
Processing triggers for systemd (229-4ubuntu21.15) …
Processing triggers for man-db (2.7.5-1) …
Processing triggers for libc-bin (2.23-0ubuntu10) …
Setting up libudev1:amd64 (229-4ubuntu21.15) …
Processing triggers for libc-bin (2.23-0ubuntu10) …
(Reading database … 122303 files and directories currently installed.)
Preparing to unpack …/initramfs-tools_0.122ubuntu8.14_all.deb …
Unpacking initramfs-tools (0.122ubuntu8.14) over (0.122ubuntu8.13) …
Preparing to unpack …/initramfs-tools-core_0.122ubuntu8.14_all.deb …
Unpacking initramfs-tools-core (0.122ubuntu8.14) over (0.122ubuntu8.13) …
Preparing to unpack …/initramfs-tools-bin_0.122ubuntu8.14_amd64.deb …
Unpacking initramfs-tools-bin (0.122ubuntu8.14) over (0.122ubuntu8.13) …
Preparing to unpack …/systemd-sysv_229-4ubuntu21.15_amd64.deb …
Unpacking systemd-sysv (229-4ubuntu21.15) over (229-4ubuntu21.10) …
Processing triggers for man-db (2.7.5-1) …
Setting up systemd-sysv (229-4ubuntu21.15) …
(Reading database … 122303 files and directories currently installed.)
Preparing to unpack …/update-notifier-common_3.168.10_all.deb …
Unpacking update-notifier-common (3.168.10) over (3.168.9) …
Preparing to unpack …/tzdata_2018i-0ubuntu0.16.04_all.deb …
Unpacking tzdata (2018i-0ubuntu0.16.04) over (2018g-0ubuntu0.16.04) …
Preparing to unpack …/ca-certificates_20170717~16.04.2_all.deb …
Unpacking ca-certificates (20170717~16.04.2) over (20170717~16.04.1) …
Preparing to unpack …/krb5-locales_1.13.2+dfsg-5ubuntu2.1_all.deb …
Unpacking krb5-locales (1.13.2+dfsg-5ubuntu2.1) over (1.13.2+dfsg-5ubuntu2) …
Preparing to unpack …/libgssapi-krb5-2_1.13.2+dfsg-5ubuntu2.1_amd64.deb …
Unpacking libgssapi-krb5-2:amd64 (1.13.2+dfsg-5ubuntu2.1) over (1.13.2+dfsg-5ubuntu2) …
Preparing to unpack …/libkrb5-3_1.13.2+dfsg-5ubuntu2.1_amd64.deb …
Unpacking libkrb5-3:amd64 (1.13.2+dfsg-5ubuntu2.1) over (1.13.2+dfsg-5ubuntu2) …
Preparing to unpack …/libkrb5support0_1.13.2+dfsg-5ubuntu2.1_amd64.deb …
Unpacking libkrb5support0:amd64 (1.13.2+dfsg-5ubuntu2.1) over (1.13.2+dfsg-5ubuntu2) …
Preparing to unpack …/libk5crypto3_1.13.2+dfsg-5ubuntu2.1_amd64.deb …
Unpacking libk5crypto3:amd64 (1.13.2+dfsg-5ubuntu2.1) over (1.13.2+dfsg-5ubuntu2) …
Preparing to unpack …/libpolkit-gobject-1-0_0.105-14.1ubuntu0.4_amd64.deb …
Unpacking libpolkit-gobject-1-0:amd64 (0.105-14.1ubuntu0.4) over (0.105-14.1ubuntu0.1) …
Preparing to unpack …/libcupsimage2_2.1.3-4ubuntu0.7_amd64.deb …
Unpacking libcupsimage2:amd64 (2.1.3-4ubuntu0.7) over (2.1.3-4ubuntu0.6) …
Preparing to unpack …/libcups2_2.1.3-4ubuntu0.7_amd64.deb …
Unpacking libcups2:amd64 (2.1.3-4ubuntu0.7) over (2.1.3-4ubuntu0.6) …
Preparing to unpack …/libpolkit-agent-1-0_0.105-14.1ubuntu0.4_amd64.deb …
Unpacking libpolkit-agent-1-0:amd64 (0.105-14.1ubuntu0.4) over (0.105-14.1ubuntu0.1) …
Preparing to unpack …/libpolkit-backend-1-0_0.105-14.1ubuntu0.4_amd64.deb …
Unpacking libpolkit-backend-1-0:amd64 (0.105-14.1ubuntu0.4) over (0.105-14.1ubuntu0.1) …
Preparing to unpack …/php-pear_1%3a1.10.1+submodules+notgz-6ubuntu0.1_all.deb …
Unpacking php-pear (1:1.10.1+submodules+notgz-6ubuntu0.1) over (1:1.10.1+submodules+notgz-6) …
Preparing to unpack …/policykit-1_0.105-14.1ubuntu0.4_amd64.deb …
Created symlink from /run/systemd/system/polkitd.service to /dev/null.
Unpacking policykit-1 (0.105-14.1ubuntu0.4) over (0.105-14.1ubuntu0.1) …
Preparing to unpack …/software-properties-common_0.96.20.8_all.deb …
Unpacking software-properties-common (0.96.20.8) over (0.96.20.7) …
Preparing to unpack …/python3-software-properties_0.96.20.8_all.deb …
Unpacking python3-software-properties (0.96.20.8) over (0.96.20.7) …
Preparing to unpack …/qemu-guest-agent_1%3a2.5+dfsg-5ubuntu10.34_amd64.deb …
Unpacking qemu-guest-agent (1:2.5+dfsg-5ubuntu10.34) over (1:2.5+dfsg-5ubuntu10.33) …
Processing triggers for man-db (2.7.5-1) …
Processing triggers for libc-bin (2.23-0ubuntu10) …
Processing triggers for dbus (1.10.6-1ubuntu3.3) …
Processing triggers for systemd (229-4ubuntu21.15) …
Processing triggers for ureadahead (0.100.0-19) …
Setting up libpam-systemd:amd64 (229-4ubuntu21.15) …
Setting up udev (229-4ubuntu21.15) …
addgroup: The group `input’ already exists as a system group. Exiting.
update-initramfs: deferring update (trigger activated)
Setting up initramfs-tools-bin (0.122ubuntu8.14) …
Setting up initramfs-tools-core (0.122ubuntu8.14) …
Setting up initramfs-tools (0.122ubuntu8.14) …
update-initramfs: deferring update (trigger activated)
Setting up update-notifier-common (3.168.10) …
Setting up tzdata (2018i-0ubuntu0.16.04) …
Current default time zone: ‘Australia/Brisbane’
Local time is now: Sun Jan 20 15:44:41 AEST 2019.
Universal Time is now: Sun Jan 20 05:44:41 UTC 2019.
Run ‘dpkg-reconfigure tzdata’ if you wish to change it.
Setting up ca-certificates (20170717~16.04.2) …
Setting up krb5-locales (1.13.2+dfsg-5ubuntu2.1) …
Setting up libkrb5support0:amd64 (1.13.2+dfsg-5ubuntu2.1) …
Setting up libk5crypto3:amd64 (1.13.2+dfsg-5ubuntu2.1) …
Setting up libkrb5-3:amd64 (1.13.2+dfsg-5ubuntu2.1) …
Setting up libgssapi-krb5-2:amd64 (1.13.2+dfsg-5ubuntu2.1) …
Setting up libpolkit-gobject-1-0:amd64 (0.105-14.1ubuntu0.4) …
Setting up libcups2:amd64 (2.1.3-4ubuntu0.7) …
Setting up libcupsimage2:amd64 (2.1.3-4ubuntu0.7) …
Setting up libpolkit-agent-1-0:amd64 (0.105-14.1ubuntu0.4) …
Setting up libpolkit-backend-1-0:amd64 (0.105-14.1ubuntu0.4) …
Setting up php-pear (1:1.10.1+submodules+notgz-6ubuntu0.1) …
Setting up policykit-1 (0.105-14.1ubuntu0.4) …
Removed symlink /run/systemd/system/polkitd.service.
Setting up python3-software-properties (0.96.20.8) …
Setting up software-properties-common (0.96.20.8) …
Setting up qemu-guest-agent (1:2.5+dfsg-5ubuntu10.34) …
Processing triggers for initramfs-tools (0.122ubuntu8.14) …
update-initramfs: Generating /boot/initrd.img-4.4.0-141-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
Processing triggers for ca-certificates (20170717~16.04.2) …
Updating certificates in /etc/ssl/certs…
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d…
done.
Processing triggers for libc-bin (2.23-0ubuntu10) …
Reading package lists… Done
vpsuser@server:~$ sudo shutdown -r now
Connection closed by remote host