hopefully fixed date
This commit is contained in:
parent
424e172f10
commit
e6d7c660c5
|
@ -13,17 +13,17 @@ echo -n "Application Name (ssh key):"
|
|||
read application
|
||||
echo -n "Hostname (ssh key):"
|
||||
read hostname
|
||||
comment=`date +%Y%m%d - $application - $hostname`
|
||||
DATE=`date +%Y%m%d`
|
||||
comment="$DATE - $application - $hostname"
|
||||
ssh-keygen -t rsa -b 8192 -C comment
|
||||
cat ~.ssh/id_rsa.pub
|
||||
echo "Insert this SSH key into gogs before you continue."
|
||||
pause
|
||||
|
||||
cd ~
|
||||
git clone ssh://git@jcg.re:10022/jcgruenhage/.password-store.git
|
||||
|
||||
gpg2 --keyserver hkp://pool.sks-keyservers.net --recv-keys 691C036821A1C2A05415F572F338AD3815B5D61C 33BD6633839B232E1A24BF4262BEE5EB8F370DC6
|
||||
|
||||
|
||||
pause() {
|
||||
read -n1 -rsp $'Press any key to continue...\n'
|
||||
}
|
Loading…
Reference in a new issue