Changing the SSH port of the server to eliminate disruption and slowness and more security
4rahecomputer 4rahecomputer
51.9K subscribers
26,058 views
490

 Published On Jan 11, 2023

Nowadays there's disruption on every internet and Especially VPN services. And one of the worst things was that disruption occured on port 22 which is used for SSH server.
This disruption prevents you from connecting to the port and using it.
In this video I'm gonna teach you how to change this port to be able to use it again with no problem.
By the way, if you've not change it yet and have problems, don't worry. I've shown the soloution.

❌ We advanced the tutorial according to this link ❌
https://www.youtube.com/redirect?even...

💢 commands used-explained in the video 💢
netstat -tulnp | grep ssh
nano /etc/ssh/sshd_config
Port 22345
systemctl restart sshd
netstat -tulpn | grep ssh
ssh -p 22345 user@localhost
ufw allow 22345/tcp

⏰ Video timing ⏰
00:00 why change the default port?
02:04 what to do if we don't have access right now?
04:08 change SSH port
07:03 remoting with the new port
08:00 checking firewall
09:23 ending tips

The ssh port is the port used to securely connect to a server. The default ssh port is 22. Changing the ssh port can be useful for several reasons, including:

Security: Changing the ssh port can increase the security of your server. This makes it less likely for attackers to find and attack your server.
Access Control: Changing the ssh port can help you control access to your server. This can help you ensure that only authorized users can access your server.
Congestion: Changing the ssh port can help reduce congestion on port 22. This can improve your server performance.
To change the ssh port, you need to change your ssh server settings. This is usually done in the ssh configuration file. Depending on your operating system, the ssh configuration file may be located in different locations.
*******
✌️ 4rahecomputer donation link ✌️

if you're in Iran
https://hamibash.com/4rahecomputer
For followers abroad
https://www.paypal.com/paypalme/4rahe...
💢💢💢💢💢💢💢💢💢💢💢
4rahecomputer Second channel
   / primary4rahecomputer  
*******
👇Check out the following Playlists for professional computer training👇

💢Network Plus course 💢
https://kutt.it/networkplus

💢Windows 11 course 💢
https://kutt.it/windows11

💢Hyper-V course - Microsoft Windows Virtualization 💢
https://kutt.it/HyperV

💢Windows course - based on official certificate of Windows 10 and 11 - MCSA 💢
https://kutt.it/windowsCourse

💢Answers to your computer questions 💢
https://kutt.it/QandA

*******
🌐 Website https://4rahecomputer.com
🌐 Instagram   / 4rahecomputer  
🌐 Twitter   / 4rahecomputer  
🌐 Facebook   / 4rahecomputer  
🌐 Telegram https://t.me/charrahecomputer
#SSH #VPN #internet

show more

Share/Embed