diff --git a/auto.sh b/auto.sh index bddd6c6..b1b9407 100644 --- a/auto.sh +++ b/auto.sh @@ -34,6 +34,8 @@ useradd webssh mkdir /home/webssh +cp shellinabox_sshwrapper.sh /home/webssh/ + chmod 770 -R /home/webssh/ chown -cR webssh:webssh /home/webssh/ @@ -43,6 +45,4 @@ webssh webssh EOT -cp shellinabox_sshwrapper.sh /home/webssh/ - systemctl start shellinabox.service