Quantcast
Channel: How to solve 'Connection refused' errors in SSH connection? - Ask Ubuntu
Viewing all articles
Browse latest Browse all 15

Answer by Amin Jalali for How to solve 'Connection refused' errors in SSH connection?

$
0
0

open the file of ssh config:

sudo nano /etc/ssh/ssh_config

find the port

#port 22

uncomment (remove the #) the port option

then save the file by ctrl + x and restart your service

sudo service sshd restart

Viewing all articles
Browse latest Browse all 15

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>