You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current ssh keygen command only generates for local user and local host not the passed in user and host.
It would be good if it would generate a key based on the passed in user and host. I create different users for systems I manage and it would be good if the script would handle generating for any passed in user and host.
The current ssh keygen command only generates for local user and local host not the passed in user and host.
It would be good if it would generate a key based on the passed in user and host. I create different users for systems I manage and it would be good if the script would handle generating for any passed in user and host.
Current:$KEYSIZE -f "$ {FILENAME}" -N "${PASSPHRASE}"
${SSH_KEYGEN} -t $KEYTYPE -b
Proposed addition:$KEYSIZE -f "$ {FILENAME}" -N "${PASSPHRASE}" -C "${USER}@${HOST}"
${SSH_KEYGEN} -t $KEYTYPE -b
I made the manual change in my local script and it works great! Just might want to add some check to see which way user wants it.
The text was updated successfully, but these errors were encountered: