Helps you to generate ssh keys for remote hosts.
This tool helps the user during ssh key generation.
You run the tool an it interactively ask for necessary informations:
- key name (must be unuque)
- remote host (must be unuque)
- remote host's url or IP
- remote host's service port number (default 22)
- remote user name (can be empty)
- a comment for the new key (can be empty)
- an emcryption key for new key (can be empty)
By now new keys are put in $HOME/.ssh, and key informations in $HOME/.ssh/config
Every new is key a 4096 bit RSA key.
Run bash add_key.sh, then follow given request. A new key is generated if every argument is correct.
Given urls are checked, the tool tries to ping it, in case of failure ask you to know what to do.
When add_key.sh ask for confirm you are supposed to answer Y or y (it's case insensitive) to confirm and N or n to refuse. There's a default answer that is the capitalized letter in the prompt.
Feel free to contact me for every problem.