sshjump/server/prep.sh

7 lines
156 B
Bash

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