Running Putty's PSCP as "Local System" can give you a little headache since the very first time you try to connect to a new host is asks you if you wish to save the host key fingerprint and there is no way to automate the process of answering Y or N.
The server's host key is not cached in the registry. Youhave no guarantee that the server is the computer youthink it is.The server's rsa2 key fingerprint is:ssh-rsa 2048 f6:ec:b1:ec:1d:94:34:77:7e:0c:db:47:9f:47:4a:45If you trust this host, enter "y" to add the key toPuTTY's cache and carry on connecting.If you want to carry on connecting just once, withoutadding the key to the cache, enter "n".If you do not trust this host, press Return to abandon theconnection.Store key in cache? (y/n) Connection abandoned.
Therefore a good solution to the problem is to run PSCP as a normal user and to copy the fingerprint from the normal user registry key to the following one:
Nessun commento:
Posta un commento