——RED Hat——-
edit vi /etc/ssh/sshd_config file.
Uncomment the following line in sshd_config:
Port 22
AddressFamily any
ListenAddress 0.0.0.0
ListenAddress ::
Then restart the SSH service:
service sshd restart
——-Ubuntu——
—>apt-get install openssh-server
—>vi /etc/ssh/sshd_config
Leave a Comment