mirror of
https://github.com/5im-0n/sshenc.sh.git
synced 2025-08-02 11:20:05 +02:00
silence ssh-keygen
This commit is contained in:
@@ -104,7 +104,7 @@ elif [[ -e "$private_key" ]]; then
|
|||||||
keys_enc=$(echo "$stdin" | awk '/-- keys/{f=1;next} /-- \/keys/{f=0} f')
|
keys_enc=$(echo "$stdin" | awk '/-- keys/{f=1;next} /-- \/keys/{f=0} f')
|
||||||
cypher=$(echo "$stdin" | sed -e '1,/-- \/keys/d')
|
cypher=$(echo "$stdin" | sed -e '1,/-- \/keys/d')
|
||||||
install -m 0600 "$private_key" "$temp_dir/private_key"
|
install -m 0600 "$private_key" "$temp_dir/private_key"
|
||||||
ssh-keygen -p -m PEM -N '' -f "$temp_dir/private_key"
|
ssh-keygen -p -m PEM -N '' -f "$temp_dir/private_key" >/dev/null
|
||||||
|
|
||||||
|
|
||||||
i=0
|
i=0
|
||||||
|
Reference in New Issue
Block a user