arthepsy / ssh-audit

SSH server auditing (banner, key exchange, encryption, mac, compression, compatibility, security, etc)
MIT License
2.96k stars 268 forks source link

Allow connection to a port other than 22 #17

Closed Yamakaky closed 8 years ago

arthepsy commented 8 years ago

It's already supported. Please, read the usage section. Here's example how to specify port 1234: ssh-audit.py example.com:1234

Yamakaky commented 8 years ago

I'm sorry, I tried -p 2222 like in ssh.

arthepsy commented 8 years ago

No problem. Maybe that option could be added. Will think about it.

Yamakaky commented 8 years ago

Yeah, that would more intuitive. Maybe keeps the two options. Also, maybe read from .ssh/config?

arthepsy commented 8 years ago

I've added option -p/--port to specify port in 66b9e079a8b35f990df6a64f6be4d9924438fe9f. That's included in release 1.7.0.