From 89d8bf7ef9b13c005e0ba4a98d49984b48d657a1 Mon Sep 17 00:00:00 2001 From: 12nick12 Date: Wed, 6 Jun 2018 06:45:10 -0400 Subject: [PATCH] Update setup.sh --- host/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/setup.sh b/host/setup.sh index 106a121..04410ff 100644 --- a/host/setup.sh +++ b/host/setup.sh @@ -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"