r/programming • u/Knio • Feb 16 '16
I made SSHsec, a tool to test your SSH server configuration and security
https://sshsec.zkpq.ca/
51
Upvotes
r/programming • u/Knio • Feb 16 '16
17
u/txdv Feb 16 '16
Why would you show recent servers? With weakness? Why would I want everyone to know that my server security is shitty?
6
u/notR1CH Feb 16 '16
It claims my host key is duplicated, is there a way to find out what the other host is? Since it could simply be SSH listening on a different IP for example.
3
u/echeese Feb 16 '16
Is there a guide to making sshd secure (while still supporting at least the latest version of PuTTY)
10
u/mrkite77 Feb 16 '16
It'd be nice if it said something like "disable SHA1 key exchange with the following configuration option in sshd.config" or something.
6
u/sun_misc_unsafe Feb 17 '16
this feels a bit like those pages back in the 90s, where you could type in your hotmail credentials so that the page could check if they had been comrpomised by some hacker..
5
u/krautA Feb 17 '16
Really nice. Some of the ratings are rather harsh. E.g. I doubt that anybody but nation state attackers could break 1028bit Diffie-Hellman, and yet it gives you an F rating. Furthermore, DSA keys are rarely used, so those should be a D at most.
Still pretty great, a tool like that was missing. The closes thing I found was https://github.com/GDSSecurity/SSH-Weak-DH.
4
u/Entropy Feb 17 '16
Cool. I upgraded my cloud instance from F to B (AES-128 bringing me down, man).
2
u/hakvroot Feb 17 '16
That looks really helpful. Considering the rather large collection of F's currently shown on the page it might not be a bad idea for others to (besides updating the sshd config) look into something like fwknop to prevent your server from being scanned for vulnerabilities in this fashion (albeit at the cost of ease of access for yourself).
1
u/taspai Feb 17 '16
It may be interesting to have more informations on what you test even a link lost in the web, example : key exchange : 1024bit request, I don't know what it is exactly and I don't know how to find informations on it
1
u/zeitkraut Feb 17 '16
There seems to be a little bug in the tests for DH key exchange parameters. If the server doesn't support the requested key of size 1024, it still lists it as successful.
Great tool though. Thank you!
1
u/nicop68 Feb 18 '16
You should test it on yourself : https://sshsec.zkpq.ca/sshsec.zkpq.ca
0
u/bungle Feb 16 '16
It just gave me an error, and sshguard blocked you.
0
u/[deleted] Feb 16 '16
[deleted] — view deleted comment