openSSH - server commands


/ Published in: Bash
Save to your folder(s)

commands for starting, stopping etc openSSH


Copy this code and paste it in your HTML
  1. # Start OpenSSH server
  2. sudo /etc/init.d/ssh start
  3.  
  4. # Stop OpenSSH server
  5. sudo /etc/init.d/ssh start
  6.  
  7. # Restart OpenSSH server
  8. sudo /etc/init.d/ssh start
  9.  
  10. # Reload OpenSSH configurations
  11. sudo /etc/init.d/ssh reload

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.