ssh-keyonly

Crates.iossh-keyonly
lib.rsssh-keyonly
version0.1.2
created_at2025-12-26 14:58:27.554442+00
updated_at2026-01-12 18:59:19.714795+00
descriptionAudit an ssh server for supported authentication methods
homepage
repositoryhttps://codeberg.org/kpcyrd/ssh-keyonly
max_upload_size
id2005824
size105,240
(kpcyrd)

documentation

README

ssh-keyonly

Connect to a remote SSH server and ensures that password-based authentication is disabled.

ssh-keyonly '[2001:db8::1]:22'

It uses russh as a memory-safe SSH implementation and does not read any files that could interfere with the audit, like ~/.ssh/id_ed25519.

How to do this with OpenSSH

Using this command may or may not work for you:

ssh -v -o IdentityAgent=none -i /dev/null 'root@2001:db8::1'

License

GPL-3.0-or-later

Commit count: 8

cargo fmt