From 2c96dbc531f46c340a7a8872641aa1777bb7fdcc Mon Sep 17 00:00:00 2001 From: 12nick12 Date: Tue, 5 Jun 2018 17:06:05 -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 d246e38..1dc5744 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 22333 $username@$servername "sqlite3 $dir/sshjump.db" +echo "INSERT INTO sshjump(host, ip, port, id) VALUES(\"$host\", \"$ip\", \"$port\", \"$id\");" | ssh -p $serverport $username@$servername "sqlite3 $dir/sshjump.db"