Introduction: You need to use putty on Windows version 7 or 10. It is a graphical SSH, Telnet and Rlogin client for X. It is a direct port of the Windows SSH client of the same name. Putty is a free and open source SSH client for Windows and Unix-like system. You can download and install putty from this page if not installed on your system. Once installed you need to login to the remote Linux server using this software. Each Linux server has OpenSSH server installed. OpenSSH server allows you to log in and manager server using a text-based user interface. This page shows how to restart Linux server using putty ssh client on a Windows family of operating systems.
Step 1. Download putty
Visit this url and grab the putty package.
Step 2. Install putty
Just double click on the downloaded file “putty-64bit-0.70-installer.msi” and install on your system.
Step 3. Connect to the remote Linux server using putty
Open the putty application from Start menu or desktop shortcut and you will see an window as follows:
Step 4. Restart Linux server using putty ssh client
You must have the following information in order to reboot the Linux box:
- Linux server IP address or FQDN: For example, 192.168.2.18 or 126.96.36.199 or server1.cyberciti.biz
- Linux server username: For example: vivek
- sudo command privileges or root account password that can be used with the su command
You need to type your server IP address, port and select ssh as connection method as follows:
If you are connecting first time, you should see an alert window as follows:
Just click the “Yes” button and you will get server login session as follows:
The sudo command means “superuser do.” It prompts you for your password and confirms your request to execute a command. You must enter your username and password. Once logged in type any one of the following command to reboot the Linux server:
sudo shutdown -r 0
When prompted you must type your password, and the Linux server will reboot. It will take 2-5 minutes for the server to come back online. You can verify that with the ping command to log in using putty again:
A note about su command
The su command stands for “switch user”, and allows you to become root user. If sudo command is not available or installed or enabled on your Linux server. Use the su command as follows to become the root user (first, log in using putty and then type):
When prompted for a password, you must type root user password. Once you become a root, type the following command to reboot the Linux server:
I restart Linux server using putty ssh client. It will take some time to boot the server again. So have some patience.
And there you have it, and you just rebooted the Linux server using putty client for Windows family of operating systems.
🐧 3 comments so far... add one ↓
|Category||List of Unix and Linux commands|
|Firewall||Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04|
|Network Utilities||dig • host • ip • nmap|
|OpenVPN||CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04|
|Package Manager||apk • apt|
|Processes Management||bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time|
|Searching||grep • whereis • which|
|User Information||groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w|
|WireGuard VPN||Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04|