-
Notifications
You must be signed in to change notification settings - Fork 503
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure generate-key-pair doesn't overwrite existing key-pair (#623)
* Make sure generate-key-pair doesn't overwrite key-pair by mistake by replicating ssh-keygen behaviour. Also create public key with 0644 permission. Signed-off-by: Pradeep Chhetri <pradeepchhetri4444@gmail.com> * Fix lint errors Signed-off-by: Pradeep Chhetri <pradeepchhetri4444@gmail.com>
- Loading branch information
1 parent
40830f1
commit 5abd51e
Showing
1 changed file
with
26 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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