diff --git a/lib/includes b/lib/includes index 745f477..ac88e1e 100755 --- a/lib/includes +++ b/lib/includes @@ -258,7 +258,7 @@ setup_jail_chroot() { touch ./var/log/lastlog ./var/log/wtmp ./run/utmp info "2 - Copying essential files" - ssh-keygen -A -f . + ssh-keygen -A -f "${jail_path}" touch "./${AUTHORIZED_KEYS}" chmod 600 "./${AUTHORIZED_KEYS}" cp "${passwd}" ./etc