Linux serverNETWORK ADMINISTRATIONS

ssh: connect to host port 22 : connection refused

This Video Fix #Connection refused error by port 22.because of several reasons like #SSH service is not running, the port is blocked by the firewall, or the server is using a different port.

#how to fix ssh: connect to host port 22 : connection refused
1.First Checking have Install SSH
2.Not Install SSH than Installed it’s
3.SSH Restart
4.SSH Enable.
5.Checking SSH Status .
6. Must Be Active (Status Running)
error: Permission denied
Change Your User go to Root User:-
$sudo -i

Install SSH :-
sudo apt-get update
sudo apt-get install ssh
systemctl restart ssh.service
systemctl enable ssh.service
systemctl status ssh.service

how to reset root password in redhat linux 8 or centos 8:-

change ssh port kali linux:-

Static IP Address Configuration in kali linux :-

linux for beginners 2021:-

********Like, Comment , Support & Subscribe Me****

source

centos 7

Leave a Reply

Your email address will not be published. Required fields are marked *