Wanted to share a few scripts that allow me to find the status of ssh on my clients but also reset those that for some reason have ssh turned off.
https://jumpt.wordpress.com/2015/02/25/report-and-reset-ssh-status-via-casper/
As always feedbacks are welcome.
Page 1 / 1
Just had a read through. Good work!
I've used ```
nc -z localhost 22
``` in the past to check for connectivity.
I haven't enabled it this way before. Just curious what these lines in ssh_config are for:
- SyslogFacility AUTHPRIV
- AcceptEnv LANG LC_*
- Subsystem sftp /usr/libexec/sftp-server
They are the defaults enabled keys/values in sshd_config file. I wanted to leave it as simple as found, though I have also tested it with an empty sshd_config file and it works.
Ah ok, thanks for confirming. I wondered if it was some "magic" I hadn't heard of ;)
oh... I see what you did there. Thank you for the vote of confidence!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.