https://github.com/particlekit/update-ssh_known_hosts
Tool to merge ssh_known_hosts files and update them with ssh-keyscan results.
https://github.com/particlekit/update-ssh_known_hosts
ssh ssh-keyscan
Last synced: 7 months ago
JSON representation
Tool to merge ssh_known_hosts files and update them with ssh-keyscan results.
- Host: GitHub
- URL: https://github.com/particlekit/update-ssh_known_hosts
- Owner: particleKIT
- License: gpl-3.0
- Created: 2016-10-06T06:42:55.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-06T08:17:10.000Z (over 9 years ago)
- Last Synced: 2024-12-27T09:13:32.367Z (over 1 year ago)
- Topics: ssh, ssh-keyscan
- Language: Python
- Size: 18.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# update-ssh_known_hosts
Tool to merge ssh_known_hosts files and update them with ssh-keyscan results.
## Usage
```
usage: update_ssh_known_hosts.py [-h] [--verbose] [--hostlist HOSTLIST]
[--inputfile INPUTFILE]
outputfile
Merge and update host lists
positional arguments:
outputfile Output ssh_known_host files to write.
optional arguments:
-h, --help show this help message and exit
--verbose, -v Give more output
--hostlist HOSTLIST, -l HOSTLIST
List of hosts to scan and add.
--inputfile INPUTFILE, -i INPUTFILE
Input ssh_known_host files to combine.
```
## Example
` update_ssh_known_hosts.py --inputfile /etc/ssh/ssh_known_hosts --inputfile new_stuff new_ssh_known_hosts`