🎨 fix indent style
This commit is contained in:
parent
680018d9fd
commit
cb3906c5fa
@ -7,11 +7,11 @@ chmod 700 /host_keys
|
||||
|
||||
# check whether they exist
|
||||
if [[ ! -f /host_keys/ssh_host_rsa_key || ! -f /host_keys/ssh_host_ecdsa_key || ! -f /host_keys/ssh_host_ed25519_key || ! -f /host_keys/ssh_host_rsa_key.pub || ! -f /host_keys/ssh_host_ecdsa_key.pub || ! -f /host_keys/ssh_host_ed25519_key.pub ]]; then
|
||||
# create new keys
|
||||
mkdir -p /host_keys/etc/ssh
|
||||
ssh-keygen -A -f /host_keys
|
||||
mv /host_keys/etc/ssh/* /host_keys/
|
||||
rmdir /host_keys/etc/ssh
|
||||
# create new keys
|
||||
mkdir -p /host_keys/etc/ssh
|
||||
ssh-keygen -A -f /host_keys
|
||||
mv /host_keys/etc/ssh/* /host_keys/
|
||||
rmdir /host_keys/etc/ssh
|
||||
fi
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user