This commit is contained in:
Luk Lu
2019-12-18 16:53:04 +08:00
parent 350906875c
commit 67715ec2e2
8 changed files with 15 additions and 11 deletions

View File

@@ -4,7 +4,7 @@ if [ $1 ]
then
REMOTEHOST=$1
else
read -p "Enter user@remotehost " REMOTEHOST
read -p "Enter user@remotehost >> " REMOTEHOST
fi
scp ~/.ssh/id_rsa.pub $REMOTEHOST:~/tmp.pub