Server Fault Asked by user2018953 on January 2, 2021
The below command is used to attempt to store the SSH key, even though we tried to force exit in the command, still it is asking password.
echo y | plink -ssh [email protected] "exit".
The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's rsa2 key fingerprint is:
ssh-rsa 2048 a8:8a:f6:67:b4:42:03:09:ae:4b:57:ff:85:c0:94:bf
If you trust this host, enter "y" to add the key to
PuTTY's cache and carry on connecting.
If you want to carry on connecting just once, without
adding the key to the cache, enter "n".
If you do not trust this host, press Return to abandon the
connection.
Store key in cache? (y/n)
[email protected]'s password:
Fingerprint and Key-authentication are 2 different stories.
echo y | plink -ssh [email protected] "exit".
Should avoid that the next time the "Store key in cache? (y/n)" question to occur. You must generate an authentication key to use plink without a password for your server.
Answered by 0x0C4 on January 2, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP