Update setup.sh

This commit is contained in:
12nick12 2018-06-06 06:45:10 -04:00 committed by GitHub
parent b24753b5ff
commit 89d8bf7ef9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -20,4 +20,4 @@ sqlite3 $dir/sshjump.db 'create table sshjump(host, ip, port, id);'
sqlite3 $dir/sshjump.db "INSERT INTO sshjump(host, ip, port, id) VALUES(\"$host\", \"$ip\", \"$port\", \"$id\");"
echo "INSERT INTO sshjump(host, ip, port, id) VALUES(\"$host\", \"$ip\", \"$port\", \"$id\");" | ssh -p $serverport $username@$servername "sqlite3 $dir/sshjump.db"
echo "INSERT INTO sshjump(host, ip, port, id) VALUES(\"$host\", \"$ip\", \"$port\", \"$id\");" | ssh -i $dir/id_rsa -p $serverport $username@$servername "sqlite3 $dir/sshjump.db"