How to store SSH key without attempting to login with password using Plink? The Next CEO of...

Mathematica command that allows it to read my intentions

Why did the Drakh emissary look so blurred in S04:E11 "Lines of Communication"?

How to implement Comparable so it is consistent with identity-equality

MT "will strike" & LXX "will watch carefully" (Gen 3:15)?

Can Sri Krishna be called 'a person'?

Upgrading From a 9 Speed Sora Derailleur?

A hang glider, sudden unexpected lift to 25,000 feet altitude, what could do this?

How to unfasten electrical subpanel attached with ramset

What does this strange code stamp on my passport mean?

Salesforce opportunity stages

How to coordinate airplane tickets?

logical reads on global temp table, but not on session-level temp table

My boss doesn't want me to have a side project

Can you teleport closer to a creature you are Frightened of?

Direct Implications Between USA and UK in Event of No-Deal Brexit

Free fall ellipse or parabola?

How exploitable/balanced is this homebrew spell: Spell Permanency?

Strange use of "whether ... than ..." in official text

How dangerous is XSS

Could a dragon use its wings to swim?

Why was Sir Cadogan fired?

Calculating discount not working

What is the difference between 'contrib' and 'non-free' packages repositories?

The sum of any ten consecutive numbers from a fibonacci sequence is divisible by 11



How to store SSH key without attempting to login with password using Plink?



The Next CEO of Stack OverflowError connecting to server through sshHow to remove strict RSA key checking in SSH and what's the problem here?SSH with public/private key to iMac failsHow to automate SSH login with password?how to disable SSH login with password for some users?How do I set up passwordless RSA/DSA ssh connections under a linux serverUsing SSH config and keys in /etc/ssh with Fabricgenerate ssh host keys for clients on puppetmasterssh key unlock password some hosts some notWhy is my Cisco router not allowing me to login via SSH key?












0















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 root@172.19.117.69 "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)
root@172.19.117.69's password:









share|improve this question
















bumped to the homepage by Community 9 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    0















    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 root@172.19.117.69 "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)
    root@172.19.117.69's password:









    share|improve this question
















    bumped to the homepage by Community 9 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      0












      0








      0








      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 root@172.19.117.69 "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)
      root@172.19.117.69's password:









      share|improve this question
















      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 root@172.19.117.69 "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)
      root@172.19.117.69's password:






      windows ssh unix






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 18 '16 at 8:41









      techraf

      3,34381735




      3,34381735










      asked Aug 18 '16 at 7:48









      user2018953user2018953

      1




      1





      bumped to the homepage by Community 9 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 9 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Fingerprint and Key-authentication are 2 different stories.




          echo y | plink -ssh root@172.19.117.69 "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.






          share|improve this answer
























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "2"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f797598%2fhow-to-store-ssh-key-without-attempting-to-login-with-password-using-plink%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Fingerprint and Key-authentication are 2 different stories.




            echo y | plink -ssh root@172.19.117.69 "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.






            share|improve this answer




























              0














              Fingerprint and Key-authentication are 2 different stories.




              echo y | plink -ssh root@172.19.117.69 "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.






              share|improve this answer


























                0












                0








                0







                Fingerprint and Key-authentication are 2 different stories.




                echo y | plink -ssh root@172.19.117.69 "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.






                share|improve this answer













                Fingerprint and Key-authentication are 2 different stories.




                echo y | plink -ssh root@172.19.117.69 "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.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Aug 18 '16 at 8:02









                0x0C40x0C4

                1172




                1172






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Server Fault!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f797598%2fhow-to-store-ssh-key-without-attempting-to-login-with-password-using-plink%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

                    Список ссавців Італії Природоохоронні статуси | Список |...

                    Українські прізвища Зміст Історичні відомості |...