IndianWebPortal.com

Something Different In Linux

Home » Network » Change SSH port to some higher port?

Change SSH port to some higher port?

Posted by Rishikesh Vispute Categories: Network

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,


Popular Posts

remove index.php fro

How to remove index.php from url in magento Ans : If you ...

PHP-Java bridge on p

  What is php-java bridge? The php-java bridge is the php ...

Set expiration for y

If you want to set the expiration to your site ...

Warning: Parameter 1

Error: Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a ...

domain pointing to e

If you domain uses external MX record and it is ...