Sign in
coral
/
mendel-minimal
/
6745463ba76034798e92d0f45197617c46754232
/
.
/
etc
/
runonce.d
/
03-check-ssh-keys
blob: 8ac20aca80755c2f9edf2e1e430856f97a78bb22 [
file
] [
log
] [
blame
]
#!/bin/bash
rm
-
f
/
etc
/
ssh
/
ssh_host_
*
sed
-
e
's/^#?PasswordAuthentication.*/PasswordAuthentication no/g'
-
i
/
etc
/
ssh
/
sshd_config
test
-
f
/
etc
/
ssh
/
ssh_host_dsa_key
||
dpkg
-
reconfigure openssh
-
server