Add 'custom-cmds-in-ubuntu/bin_examples/sshkeys.sh'
This commit is contained in:
parent
a9e15a7adb
commit
ec2f9d52c1
13
custom-cmds-in-ubuntu/bin_examples/sshkeys.sh
Normal file
13
custom-cmds-in-ubuntu/bin_examples/sshkeys.sh
Normal file
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
## NOT FINISHED!!!
|
||||
|
||||
function openssl_genrsa_pass {
|
||||
|
||||
LC_ALL=C tr -dc A-Za-z0-9 </dev/urandom | head -c 64 > /opt/certs/remember2delete
|
||||
}
|
||||
|
||||
$(openssl_genrsa_pass)
|
||||
|
||||
|
||||
mkdir -p /opt/.certs/;cd /opt/.certs/
|
Loading…
x
Reference in New Issue
Block a user