From ec2f9d52c1c5cdfbb0c70f0e6d62b0bd872e37e7 Mon Sep 17 00:00:00 2001 From: sthope Date: Fri, 3 Sep 2021 21:32:39 +0200 Subject: [PATCH] Add 'custom-cmds-in-ubuntu/bin_examples/sshkeys.sh' --- custom-cmds-in-ubuntu/bin_examples/sshkeys.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 custom-cmds-in-ubuntu/bin_examples/sshkeys.sh diff --git a/custom-cmds-in-ubuntu/bin_examples/sshkeys.sh b/custom-cmds-in-ubuntu/bin_examples/sshkeys.sh new file mode 100644 index 0000000..eeb3eed --- /dev/null +++ b/custom-cmds-in-ubuntu/bin_examples/sshkeys.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +## NOT FINISHED!!! + +function openssl_genrsa_pass { + + LC_ALL=C tr -dc A-Za-z0-9 /opt/certs/remember2delete +} + +$(openssl_genrsa_pass) + + +mkdir -p /opt/.certs/;cd /opt/.certs/