diff options
author | Ryo Nakamura <upa@haeena.net> | 2024-04-11 20:29:31 +0900 |
---|---|---|
committer | Ryo Nakamura <upa@haeena.net> | 2024-04-11 20:30:46 +0900 |
commit | 59b90d80bd86aaef9e624b6eec6135ac743c7b90 (patch) | |
tree | dd200b96d1606f6e36fa6ab0c1102da43302f4d7 /src/ssh.c | |
parent | 00fa2c727718e07ecb574830bbf0bd7d734cb964 (diff) |
drop -H disable host key checking option
It can be done by ssh_config instead.
Diffstat (limited to 'src/ssh.c')
-rw-r--r-- | src/ssh.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -199,7 +199,7 @@ static ssh_session ssh_init_session(const char *sshdst, struct mscp_ssh_opts *op goto disconnect_out; } - if (!opts->no_hostkey_check && ssh_verify_known_hosts(ssh) != 0) { + if (ssh_verify_known_hosts(ssh) != 0) { priv_set_errv("ssh_veriy_known_hosts failed"); goto disconnect_out; } |