besseres english :D

This commit is contained in:
Simon Rieger 2016-12-26 17:43:05 +01:00 committed by GitHub
parent 6aa280f430
commit ba301b0e5b

View file

@ -10,14 +10,14 @@ read -p "SSH remote username: " username;
#
if [ "$puplic" == "y" ];
then
read -p "Why it the public_key?: " key;
read -p "How is your public_key?: " key;
echo $key > ~/.ssh/id_rsa.pub;
rm ~/.ssh/id_rsa;
echo "Give youre id her ein and when youre ready give finish ein.";
echo "Enter your private id here and press the enter key for a new line and when you are done confirm with finish !!!";
while [ "$id" != "finish" ];
do
read -p "Why it the id_rsa key?: " id;
read -p "How is your id_rsa key?: " id;
echo $id >> ~/.ssh/id_rsa;
done
exec ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p $port $username@$host;