Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- screen -x
- cd /etc/ssh
- cp sshd_config sshd_config_orig
- vim sshd_config
- sshd -t
- systemctl restart sshd; mv sshd_config sshd_config_attempt; mv sshd_config_orig sshd_config
- rm sshd_config; mv sshd_config_attempt sshd_config
- systemctl restart sshd
Add Comment
Please, Sign In to add comment