SFTP - How to automatic accept server fingerprint???

Discuss RoboTask here

SFTP - How to automatic accept server fingerprint???

Postby RoboTaskDISA » 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:ab: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?
RoboTaskDISA
 
Posts: 1
Joined: Mon Feb 29, 2016 9:42 pm

Re: SFTP - How to automatic accept server fingerprint???

Postby Oleg » Wed Mar 02, 2016 12:37 pm

According to error log you have input incorrect username/password for this sFTP server.
Oleg Yershov
Oleg
Site Admin
 
Posts: 2599
Joined: Thu Jan 01, 1970 1:00 am

Re: SFTP - How to automatic accept server fingerprint???

Postby mbenovic » Tue Oct 13, 2020 9:50 pm

I am having a similar, but different problem.
The host changed their IP address and key.
I am positive the UserID and password are correct.
I can connect through FileZilla and other clients.
I am running RoboTask v6.8 with the SFTP plug-in v6.8.0.47
How can I accept the new key?

E: 10/13/2020 2:55:53 PM: Can't open SFTP session
E: 10/13/2020 2:55:53 PM: WARNING - POTENTIAL SECURITY BREACH!
E: 10/13/2020 2:55:53 PM: The server's host key does not match the one PuTTY has
E: 10/13/2020 2:55:53 PM: cached in the registry. This means that either the
E: 10/13/2020 2:55:53 PM: server administrator has changed the host key, or you
E: 10/13/2020 2:55:53 PM: have actually connected to another computer pretending
E: 10/13/2020 2:55:53 PM: to be the server.
E: 10/13/2020 2:55:53 PM: The new rsa2 key fingerprint is:
E: 10/13/2020 2:55:53 PM: ssh-rsa 2048 c3:21:37:95:95:a2:cc:06:52:ce:48:ac:aa:fe:a7:a9
E: 10/13/2020 2:55:53 PM: If you were expecting this change and trust the new key,
E: 10/13/2020 2:55:53 PM: enter "y" to update PuTTY's cache and continue connecting.
E: 10/13/2020 2:55:53 PM: If you want to carry on connecting but without updating
E: 10/13/2020 2:55:53 PM: the cache, enter "n".
E: 10/13/2020 2:55:53 PM: If you want to abandon the connection completely, press
E: 10/13/2020 2:55:53 PM: Return to cancel. Pressing Return is the ONLY guaranteed
E: 10/13/2020 2:55:53 PM: safe choice.
E: 10/13/2020 2:55:53 PM: Update cached key? (y/n, Return cancels connection)
E: 10/13/2020 2:55:53 PM: Timeout is over
E: 10/13/2020 2:55:53 PM: An error occurred. Step #1 (SFTP Open (mjholdings@sftp.amerch.com)).
E: 10/13/2020 2:55:53 PM: Task execution is aborted
mbenovic
 
Posts: 2
Joined: Fri Oct 15, 2010 8:02 am
Location: United States

Re: SFTP - How to automatic accept server fingerprint???

Postby Oleg » Wed Oct 14, 2020 7:45 am

How can I accept the new key?


to Clear PuTTY's cache remove registry key
HKEY_CURRENT_USER\SoftWare\SimonTatham\PuTTY\SshHostKeys
Also you can remove the corresponding value only.

read more here please:
https://superuser.com/questions/197489/ ... on-windows

It seems we need to improve SFTP Open action...
Oleg Yershov
Oleg
Site Admin
 
Posts: 2599
Joined: Thu Jan 01, 1970 1:00 am

Re: SFTP - How to automatic accept server fingerprint???

Postby mbenovic » Wed Oct 14, 2020 3:25 pm

That worked. Thanks!
mbenovic
 
Posts: 2
Joined: Fri Oct 15, 2010 8:02 am
Location: United States


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 22 guests

cron