Fatal error: Host key verification failed.
See original GitHub issueHi, I am confused about this error, can u spare some time to help me?
const FTPS = require('ftps')
const ftps = new FTPS({
host: '192.168.xx.xx',
username: 'xx',
password: 'xx',
protocol: 'sftp',
port: 22,
})
ftps.cd('/export/wxsq/resource/fd/h5/for-fonts-server').addFile(__dirname + '/aa.css').exec(console.log);
Error:
null { error: 'cd: Fatal error: Host key verification failed.\r\nput: /Users/ruanjiawei/Desktop/ftptest/aa.css: Fatal error: Host key verification failed.\r\n',
data: '' }
Issue Analytics
- State:
- Created 6 years ago
- Comments:7
Top Results From Across the Web
LFTP: how to fix the "Fatal error: Host key verification failed" error
It could happen that trying to connect to a server using the sftp protocol with LFTP, you receive the error "Fatal error: Host...
Read more >How to fix the error “host key verification failed” - The Geek Diary
This indicates some environment of the SSH server has changed since last time you connected to it, especially the public key and the...
Read more >LFTP "Fatal error: Host key verification failed" error
The cause of the problem is the missing RSA key fingerprint in the list of known hosts. To fix it, it's enough to...
Read more >3 ways to fix Host key verification failed in ssh - howtouselinux
If you receive the error message “Host key verification failed”, it means that the key stored for the host you're trying to connect...
Read more >SSH connection problem with "Host key verification failed ...
"Host key verification failed" means that the host key of the remote host was changed. SSH stores the host keys of the remote...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
set ‘autoConfirm: true’ in config. that’s helped me
I use Windows7 for now, and run the terminal as admin.
I mean, when I input
yes
, though it gave me a hint like that, but it made no effect, I can still login into server.I just tried
ssh
again and inputno
, and gotHost key verification fail
finally. Now I see, maybe running my script the low level functions answered ano
automatically for me?And it just need a retry?😃 That’s all I guess.