explicit path refix for ssh-keygen
This commit is contained in:
parent
1063dfe74d
commit
ea9aac50a3
|
@ -258,7 +258,7 @@ setup_jail_chroot() {
|
||||||
touch ./var/log/lastlog ./var/log/wtmp ./run/utmp
|
touch ./var/log/lastlog ./var/log/wtmp ./run/utmp
|
||||||
|
|
||||||
info "2 - Copying essential files"
|
info "2 - Copying essential files"
|
||||||
ssh-keygen -A -f .
|
ssh-keygen -A -f "${jail_path}"
|
||||||
touch "./${AUTHORIZED_KEYS}"
|
touch "./${AUTHORIZED_KEYS}"
|
||||||
chmod 600 "./${AUTHORIZED_KEYS}"
|
chmod 600 "./${AUTHORIZED_KEYS}"
|
||||||
cp "${passwd}" ./etc
|
cp "${passwd}" ./etc
|
||||||
|
|
Loading…
Reference in a new issue