besseres english :D
This commit is contained in:
parent
6aa280f430
commit
ba301b0e5b
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue