Kali Linux - SSH Key generation and setup
All ssh keys are located in /etc/ssh folder
Replace new ssh key(file) for all existing key/file as ssh_host
create new folder
- $mkdir old_keys
move existing key/files to old_keys folder
- $mv ssh_host* /etc/ssh/old_keys
generate new keys
- $sudo dpkg-reconfigure openssh-server
to check/compact old and new values
- $md5sum ssh_host*
- $md5sum oldkeys/ssh_host*
No comments:
Post a Comment