#! /bin/sh mkdir /root/.ssh chmod 700 /root/.ssh cat /run/secrets/decode-pw | gpg --batch --passphrase-fd -d --output /root/.ssh/id_rsa /root/sshkey.ssh.gpg chmod 600 /root/.ssh/id_rsa