SFTP - How to automatic accept server fingerprint???
Posted: Mon Feb 29, 2016 9:48 pm
I'm trying to develop new task using sftp commands but command return this error:
E: 28/02/2016 22:09:43: Can't open SFTP session
E: 28/02/2016 22:09:43: The server's host key is not cached in the registry. You
E: 28/02/2016 22:09:43: have no guarantee that the server is the computer you
E: 28/02/2016 22:09:43: think it is.
E: 28/02/2016 22:09:43: The server's rsa2 key fingerprint is:
E: 28/02/2016 22:09:43: ssh-rsa 2048 61:c8:32:62
e4:5b:0f:8d:fa:e2:32:bf:fa:67:73
E: 28/02/2016 22:09:43: If you trust this host, enter "y" to add the key to
E: 28/02/2016 22:09:43: PuTTY's cache and carry on connecting.
E: 28/02/2016 22:09:43: If you want to carry on connecting just once, without
E: 28/02/2016 22:09:43: adding the key to the cache, enter "n".
E: 28/02/2016 22:09:43: If you do not trust this host, press Return to abandon the
E: 28/02/2016 22:09:43: connection.
E: 28/02/2016 22:09:43: Store key in cache? (y/n) ftp.test.sftp.01@interfile.disagrupo.es's password:
E: 28/02/2016 22:09:43: ftp.test.sftp.01@interfile.disagrupo.es's password:
E: 28/02/2016 22:09:43: An error occurred. Step #1 (SFTP Open (ftp.test.sftp.01@interfile.disagrupo.es)).
E: 28/02/2016 22:09:43: Task execution is aborted
Can you help me?
E: 28/02/2016 22:09:43: Can't open SFTP session
E: 28/02/2016 22:09:43: The server's host key is not cached in the registry. You
E: 28/02/2016 22:09:43: have no guarantee that the server is the computer you
E: 28/02/2016 22:09:43: think it is.
E: 28/02/2016 22:09:43: The server's rsa2 key fingerprint is:
E: 28/02/2016 22:09:43: ssh-rsa 2048 61:c8:32:62
E: 28/02/2016 22:09:43: If you trust this host, enter "y" to add the key to
E: 28/02/2016 22:09:43: PuTTY's cache and carry on connecting.
E: 28/02/2016 22:09:43: If you want to carry on connecting just once, without
E: 28/02/2016 22:09:43: adding the key to the cache, enter "n".
E: 28/02/2016 22:09:43: If you do not trust this host, press Return to abandon the
E: 28/02/2016 22:09:43: connection.
E: 28/02/2016 22:09:43: Store key in cache? (y/n) ftp.test.sftp.01@interfile.disagrupo.es's password:
E: 28/02/2016 22:09:43: ftp.test.sftp.01@interfile.disagrupo.es's password:
E: 28/02/2016 22:09:43: An error occurred. Step #1 (SFTP Open (ftp.test.sftp.01@interfile.disagrupo.es)).
E: 28/02/2016 22:09:43: Task execution is aborted
Can you help me?