In this Post we will discuss what SSH is and how to fix Putty Network error Connection refused.
SSH
SSH(Secure shell) is a software package that enables secure system administration and file transfers over insecure networks. so if you are trying to do SSH only to see a Network error Connection refused, you may start to feel concerned. However this is common issue, and it is possible to fix it on your own with a bit of troubleshooting.

What is SSH?.
SSH(Secure Shell), also we are called Secure Socket Shell, is a protocol for securely over an unsecured network. In other words, it is a way to safely log in to your server remotely.
When you connect to your remote server using the putty(ssh) as below.

Once you try to ssh server. You will received an error as below.

- Depending on what distribution installed, you may need to install or run the SSH service, usually called openssh-server or sshd depending on your package manager. Login into server console and run the below command to check sshd package is available or not on remote server.
- # rpm -qa |grep -i openssh-server

- If SSH package is not install then, you need to install SSH pacakge on remote server.
- #yum install openssh-server

- Once you installed the package after that you have to start the SSH service.
- #systemctl start sshd

- Allow SSH port 22 on firewall to accept the connection from other server.
- Now remote server able to connect.

Leave your message if anything missed and we appreciate your comments. You can also watch this video “putty ssh network error connection refused”
2 thoughts on “How to fix SSH Network error Connection refused”