sshjump/server/prep.sh

7 lines
156 B
Bash
Raw Normal View History

2018-06-05 16:52:27 -04:00
dir=/opt/sshjump
username=sshjump
adduser $username
chmod -R $username:$username $dir
2018-06-05 16:49:16 -04:00
sqlite3 $dir/sshjump.db 'create table sshjump(host, ip, port, id);'