How to Change the SSH Port 22 in CentOS 7 By Technology Guide360
#technologyguide360
#ssh
#centos7
SSH port change command:
*For Centos7 64bit:
vi /etc/ssh/sshd_config
firewall-cmd --add-port 3477/tcp --permanent
firewall-cmd --add-port 3477/tcp
yum install policycoreutils
yum whatprovides semanage
yum provides *bin/semanage
yum -y install policycoreutils-python
semanage port -a -t ssh_port_t -p tcp 3477
sudo systemctl restart sshd.service
*********
service sshd reload
service sshd restart
*********
NOTE: Service SuSEfirewall2 restart (if vicibox server)
semanage port -a -t ssh_port_t -p tcp 3477
Default SSH Port: 22 all linux
now we changing SSH port set new SSH Port 3477
Follow me
---------------------- 🔔Channel Subscription Link🔔 -----------------------
https://cutt.ly/GKWcvn9
____________________________________________________________
👉Join my Facebook Page. Here is the link:
https://www.facebook.com/Technologyguide360
👉Follow my twitter, here is the link:
https://twitter.com/TGuide360
Hello, Guys Thanks 😊 For watching this video, hope you like this content, please give your suggestions in the comments section. Hope you guys like the video. If you like this video then please 🙏 Give a big Like 👍
Watch video How to Change the SSH Port 22 in CentOS 7 By Technology Guide360 online without registration, duration hours minute second in high quality. This video was added by user Technology Guide360 28 July 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,170 once and liked it 46 people.