diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-03-29 22:18:07 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-03-29 22:18:07 -0300 |
commit | 96c1c6a94904b9a408ecfa87e0f488acdc724422 (patch) | |
tree | 20a8639bb510ae04c5965c7b9418f4cad015f677 /kvmx-create | |
parent | 3e675f63676e2a0a7e3e9b787d38a926685c9a04 (diff) | |
download | kvmx-96c1c6a94904b9a408ecfa87e0f488acdc724422.tar.gz kvmx-96c1c6a94904b9a408ecfa87e0f488acdc724422.tar.bz2 |
Adds SSH key rotation action
Diffstat (limited to 'kvmx-create')
-rwxr-xr-x | kvmx-create | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmx-create b/kvmx-create index 7f9270d..204f2e0 100755 --- a/kvmx-create +++ b/kvmx-create @@ -248,7 +248,7 @@ function kvmx_create_custom { if [ "$ssh_custom" == "y" ]; then privkey="`dirname $image`/`basename $image .img`.key" pubkey="${privkey}.pub" - ssh-keygen -t rsa -b 4096 -f $privkey -N '' -C "user@`basename $image .img`" + $DIRNAME/kvmx-keygen $privkey "$user@`basename $image .img`" else pubkey="$DIRNAME/share/ssh/insecure_private_key.pub" fi |