Instalar archivos dentro de /home/suttier
This commit is contained in:
parent
19aac59bdc
commit
74a4985ea2
1 changed files with 3 additions and 2 deletions
5
haini.sh
5
haini.sh
|
@ -208,8 +208,9 @@ crear_entorno() {
|
||||||
done
|
done
|
||||||
|
|
||||||
# Configurar SSH
|
# Configurar SSH
|
||||||
install -m 644 "$DIR/ssh/known_hosts" "$ENTORNO/root/known_hosts"
|
install -m 700 -d "$ENTORNO/home/suttier/.ssh"
|
||||||
install -m 644 "$DIR/ssh/config" "$ENTORNO/etc/ssh_config"
|
install -m 644 "$DIR/ssh/known_hosts" "$ENTORNO/home/suttier/.ssh/known_hosts"
|
||||||
|
install -m 644 "$DIR/ssh/config" "$ENTORNO/home/suttier/.ssh/config"
|
||||||
|
|
||||||
test -f "$ENTORNO/etc/ssl/certs/sutty.local.crt" || generar_certificado
|
test -f "$ENTORNO/etc/ssl/certs/sutty.local.crt" || generar_certificado
|
||||||
test -f "$ENTORNO/usr/local/share/ca-certificates/ca-sutty.crt" || mv "$ENTORNO/etc/ssl/certs/ca-sutty.crt" "$ENTORNO/usr/local/share/ca-certificates/ca-sutty.crt"
|
test -f "$ENTORNO/usr/local/share/ca-certificates/ca-sutty.crt" || mv "$ENTORNO/etc/ssl/certs/ca-sutty.crt" "$ENTORNO/usr/local/share/ca-certificates/ca-sutty.crt"
|
||||||
|
|
Loading…
Reference in a new issue