Skip to content

xiaoyuer11223344/ssh-known-hosts-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SSH Known Hosts Checker

A Go tool for parsing SSH known_hosts files and attempting SSH connections.

Features

  • Parses both ~/.ssh/known_hosts and ~/.ssh/known_hosts.old files
  • Supports both password and key-based authentication
  • Multi-threaded connection attempts
  • Detailed success/failure reporting

Usage

# Build the program
go build

# Run with password authentication
./ssh-known-hosts-checker -user username -password yourpassword

# Run with key-based authentication
./ssh-known-hosts-checker -user username -key /path/to/private/key

# Optional: Specify custom port (default: 22)
./ssh-known-hosts-checker -user username -password yourpassword -port 2222

Requirements

  • Go 1.18 or later
  • Access to SSH known_hosts files

About

ssh known_hosts checker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages