×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Bash
Posted by: Paul Allies Allies
Added: Aug 14, 2012 7:06 PM
Modified: Aug 14, 2012 7:36 PM
Views: 24
Tags: ssh
SSH over an alternate port
  1. //Edit this file on the server machine
  2. sudo vim /etc/ssh/sshd_config
  3.  
  4. //Add the following line
  5. Port 443
  6.  
  7. //Restart ssh server
  8. sudo /etc/init.d/ssh restart
  9.  
  10. //Connect to server from client with
  11. ssh user@host -p443
  12.  
  13.  
  14.