Update and rename createdatabase.sh to prep.sh

This commit is contained in:
12nick12 2018-06-06 07:02:31 -04:00 committed by GitHub
parent 2af46c4b94
commit 0a039896aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -1,2 +1,6 @@
dir=/opt/sshjump
username=sshjump
adduser $username
chmod -R $username:$username $dir
sqlite3 $dir/sshjump.db 'create table sshjump(host, ip, port, id);'