Created
January 31, 2020 22:57
-
-
Save gwsu2008/4ee2db00baabd63ea6b46f4119d572ed to your computer and use it in GitHub Desktop.
ssh-keygen overwrite without prompt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-keygen -o -t rsa -f /etc/ssh/ssh_host_rsa_key -N '' 2>/dev/null <<< y >/dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment