KNOWNHOST WIKI

User Tools

Site Tools


security:misc:how-can-i-change-my-ssh-port

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
security:misc:how-can-i-change-my-ssh-port [2020/06/04 09:09]
Karson N.
security:misc:how-can-i-change-my-ssh-port [2020/06/04 09:10] (current)
Karson N. [Changing your SSH port]
Line 23: Line 23:
     * <code>  # netstat -tulpn |grep sshd     * <code>  # netstat -tulpn |grep sshd
   tcp          0.0.0.0:2222     0.0.0.0:  LISTEN   5672/sshd    tcp          0.0.0.0:2222     0.0.0.0:  LISTEN   5672/sshd 
-  tcp          :::2222              :::*            LISTEN   5672/sshd+  tcp               :::2222          :::*   LISTEN   5672/sshd
 </code> </code>
     * :2222 shows that it's listening properly on 2222 now, rather than 2200.     * :2222 shows that it's listening properly on 2222 now, rather than 2200.
  
 Now when connecting to your server use the newly configured port number. Now when connecting to your server use the newly configured port number.
security/misc/how-can-i-change-my-ssh-port.txt · Last modified: 2020/06/04 09:10 by Karson N.