Guest User

Untitled

a guest
Oct 22nd, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. screen -x
  2. cd /etc/ssh
  3. cp sshd_config sshd_config_orig
  4. vim sshd_config
  5. sshd -t
  6. systemctl restart sshd; mv sshd_config sshd_config_attempt; mv sshd_config_orig sshd_config
  7.  
  8. rm sshd_config; mv sshd_config_attempt sshd_config
  9.  
  10. systemctl restart sshd
Add Comment
Please, Sign In to add comment