Change SSH port to some higher port?
Ans>
pico -w /etc/ssh/sshd_config
Find the line ‘#Port 22’ and uncomment it and change it to look like ‘Port [Random high level port here]’.
for example we changes the port no22 to port no 322
Port 322
#Protocol 2,1
Protocol 2
#AddressFamily any
#ListenAddress 0.0.0.0
#ListenAddress ::
now save the file and retsrat ssh service
Thanks,
Author Widget
Advertisement
Latest Blog
Categories
- aws
- Basic Linux
- Blogger
- Computer
- cPanel
- DDOS
- Drupal
- Economy
- Email Marketing Series
- Email problems
- Entertainment
- Error and solution
- Fashion
- Featured
- Food
- ftp issues
- How to
- htaccess
- Installation
- Joomla
- Knowledge
- Linux Commands
- magento
- ModSecurity
- mysql
- Nature
- Network
- PHP
- Plesk
- Questions And Answers
- ruby and rails
- security
- Shell Programming and Scripting
- Sports
- Technology
- Tomcat
- Travel
- Uncategorized
- Wordpress