From e3709631ca2e50f9458ab368d42e7a1e7e90a894 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 16 Mar 2015 12:33:05 +1100 Subject: [PATCH] we don't care about ssh these days --- launcher | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/launcher b/launcher index ce2257c..8147ba2 100755 --- a/launcher +++ b/launcher @@ -159,24 +159,7 @@ get_ssh_pub_key() { fi done - if tty -s ; then - echo "This user has no SSH key, but a SSH key is required to access the Discourse Docker container." - read -p "Generate a SSH key? (Y/n) " -n 1 -r - if [[ $REPLY =~ ^[Nn]$ ]] ; then - echo - echo WARNING: You may not be able to log in to your container. - echo - else - echo - echo Generating SSH key - mkdir -p ~/.ssh && ssh-keygen -f ~/.ssh/id_rsa -t rsa -N '' - echo - ssh_pub_key="$(cat ~/.ssh/id_rsa.pub)" - return 0 - fi - fi - - return 1 + return 0 } -- 2.25.1