From 4061f4f335c30bac452d6851a025f5104a4d42de Mon Sep 17 00:00:00 2001 From: J Date: Fri, 14 Aug 2015 18:40:29 -0400 Subject: [PATCH] Removed root ssh key generation. Because --- gogs_root.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gogs_root.sh b/gogs_root.sh index 6399886..3b8628a 100755 --- a/gogs_root.sh +++ b/gogs_root.sh @@ -10,11 +10,6 @@ set jnk = $< echo "Enabling SSH" /usr/bin/sed -i '.bak' 's/sshd_enable="NO"/sshd_enable="YES"/g' /etc/rc.conf # Generate root keys & Enable root login (with SSH keys). -# [Optional, to continue install straight from SSH to the jail] -if (! -d ~/.ssh/ ) then - echo ".ssh does not exist, generating ssh-key in background" - /usr/bin/ssh-keygen -b 16384 -N '' -f ~/.ssh/id_rsa -t rsa -q & -endif echo "Enabling root login without password" echo "PermitRootLogin without-password" >> /etc/ssh/sshd_config # Start SSH