drop -H disable host key checking option

It can be done by ssh_config instead.
This commit is contained in:
Ryo Nakamura
2024-04-11 20:29:31 +09:00
parent 00fa2c7277
commit 59b90d80bd
7 changed files with 47 additions and 58 deletions

View File

@@ -19,6 +19,7 @@ if [ ! -e /var/run/sshd.pid ]; then
fi
ssh-keyscan localhost >> ${HOME}/.ssh/known_hosts
ssh-keyscan ip6-localhost >> ${HOME}/.ssh/known_hosts
ssh-keyscan 127.0.0.1 >> ${HOME}/.ssh/known_hosts
ssh-keyscan ::1 >> ${HOME}/.ssh/known_hosts