SSH client audit
See original GitHub issueWhat do you think about the idea of a SSH client audit feature?
Of course, admins can configure a good and up-to-date system-wide client config (/etc/ssh/ssh_config
). However, users also have their own (and often ancient!) settings in ~/.ssh/config
. AFAIK there is no tool that audits the client settings and gives recommendations.
When I discovered the ssh -G host
option (available since OpenSSH 6.8) I thought this may be an interesting and easy way to audit the effective client settings for the respective destination.
Also, it would be possible to not only check the configured algorithms but also insecure or dangerous features (e.g. X11Forwarding, Agent-Forwarding, etc).
It could look like this:
$ ssh-audit -c host
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:5
Top Results From Across the Web
jtesta/ssh-audit: SSH server & client auditing (banner ... - GitHub
ssh -audit is a tool for ssh server & client configuration auditing. jtesta/ssh-audit (v2.0+) is the updated and maintained version of ssh-audit forked...
Read more >How to audit SSH server and client config on Linux/Unix
What is the ssh-audit tool? · Scan for OpenSSH server and client config for security issues · Make sure the correct and recommended...
Read more >How to use SSH Audit Logging
For audit logging for SSH to be effective, you can assign each user a unique login. This approach enables you to track user...
Read more >SSH Configuration Auditor
This free tool audits the configuration of an SSH server or client and highlights the areas needing improvement. Too many admins overlook SSH...
Read more >SSH Audit Made Simple - StrongDM
SSH audit logs allow you to determine, either retroactively or in real-time, when an unauthorized or destructive action was taken, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@knweiss @egberts I implemented SSH client testing in v2.1.0 of my fork: https://github.com/jtesta/ssh-audit/releases/tag/v2.1.0
Or checking the (new) storage format of the private key (bcrypt KDF and number of rounds) or the public key (RFC 4716).
Or warning about the key age and hinting about key rotation if the local private key file has an old timestamp.