we don't care about ssh these days
authorSam <sam.saffron@gmail.com>
Mon, 16 Mar 2015 01:33:05 +0000 (12:33 +1100)
committerSam <sam.saffron@gmail.com>
Mon, 16 Mar 2015 01:33:05 +0000 (12:33 +1100)
launcher

index ce2257cc0198eeaf4f4b5031097b97c2f5b43075..8147ba2a196f16ac1a10c9bc47d5b171a6c8c4f4 100755 (executable)
--- 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
 }