As we all know, the Linux host ssh remote default port number is 22, no problem
Now the need is to modify the default port number to strengthen the remote security of the host
Just the following command, get it
vim /etc/ssh/sshd_config
Just modify it here
Port 1234
#AddressFamily any
#ListenAddress 0.0.0.0
#ListenAddress ::
After modification,:wq Save
Then restart the sshd service
systemctl restart sshd.service
Then test the connection
over
More exciting, stay tuned!
Note:
(It’s been a bit busy these days, but I have to insist on outputting)