Generation of ssh keygen in Chrome OS











up vote
4
down vote

favorite












I've just bought a machine with Chrome OS installed. I need to connect via ssh to a remote server, which needs to have my generated keygen to grant me any access to it. I am following the instructions Esc + Refresh (F3) + Power button in order to go to the Developer mode, but it just closes my login session and does nothing but spending my time. Command ssh-keygen does not exist in chrosh.



Would you help me to find out a solution?










share|improve this question


























    up vote
    4
    down vote

    favorite












    I've just bought a machine with Chrome OS installed. I need to connect via ssh to a remote server, which needs to have my generated keygen to grant me any access to it. I am following the instructions Esc + Refresh (F3) + Power button in order to go to the Developer mode, but it just closes my login session and does nothing but spending my time. Command ssh-keygen does not exist in chrosh.



    Would you help me to find out a solution?










    share|improve this question
























      up vote
      4
      down vote

      favorite









      up vote
      4
      down vote

      favorite











      I've just bought a machine with Chrome OS installed. I need to connect via ssh to a remote server, which needs to have my generated keygen to grant me any access to it. I am following the instructions Esc + Refresh (F3) + Power button in order to go to the Developer mode, but it just closes my login session and does nothing but spending my time. Command ssh-keygen does not exist in chrosh.



      Would you help me to find out a solution?










      share|improve this question













      I've just bought a machine with Chrome OS installed. I need to connect via ssh to a remote server, which needs to have my generated keygen to grant me any access to it. I am following the instructions Esc + Refresh (F3) + Power button in order to go to the Developer mode, but it just closes my login session and does nothing but spending my time. Command ssh-keygen does not exist in chrosh.



      Would you help me to find out a solution?







      google-chrome ssh






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 20 '15 at 10:37









      user2979409

      14314




      14314






















          4 Answers
          4






          active

          oldest

          votes

















          up vote
          3
          down vote













          Aware this post hasn't been posted on for over a year however I think this may work:




          1. Install Chromebrew

          2. Now install libssh2 (think this package is for generating) by typing in crew install libssh2


          NOTE: You need to have dev mode enabled.
          NOTE 2: I'm posting this for others who may want to do this.






          share|improve this answer





















          • it can be done without dev mode, according to the other answer and comments. i've just did it.
            – cregox
            Mar 3 at 18:15


















          up vote
          2
          down vote













          First taking look at https://sites.google.com/site/chromeoswikisite/home/tips-and-tricks: Private keys have to be generated on a different computer and copied to the File Shelf of the Chromebook via SD Card.



          Now after you have generated your key and copied it to SD card, take a look at this page :



          Download your key to the Downloads directory. I keep an encrypted copy of my key in Google Drive.
          Press Ctrl-Alt-T to open a terminal tab.
          At the crosh> prompt, type the following:
          ssh
          user <your-user-name>
          host <your-host-name>
          key <your-key-filename> (not the full path)
          connect





          share|improve this answer

















          • 1




            No. I must create a key for my ChromeOS, since I want to connect to my server, which requires a known client via key generated in the client computer.
            – user2979409
            Jan 20 '15 at 10:53






          • 1




            I don't think so, IMHO you can as well generate the key elsewhere. Anyway, the the crosh shell doesn't have any command for creating a key
            – duDE
            Jan 20 '15 at 10:56










          • indeed, generating it elsewhere and using it with this worked perfectly for me! chromium.googlesource.com/apps/libapps/+/master/nassh/doc/… no need for root/devmode
            – cregox
            Mar 3 at 18:12




















          up vote
          0
          down vote













          If you don't want to run in developer mode you can use this extension.



          There is some risk in this process as keys are synced in chrome, but it's useful for development in a pinch.






          share|improve this answer





















          • That extension doesn't have an option to generate a new key. You have to paste in a PEM-formatted key to add one to the agent.
            – matvore
            Nov 24 at 13:29


















          up vote
          0
          down vote













          If you don't have access to a machine with ssh-keygen or want to generate the key completely locally, you can use this stand-alone page [1] which is a modified version of https://js-keygen.surge.sh/ but with the config options not broken and the site downloadable as a single file. It does not send the keys anywhere or save them in the cloud.



          To generate an SSH keypair, you can click "Generate" with the default options and then click "Save" for each key of the pair.



          [1] Just in case, I have mirrored this page here: https://scito.surge.sh/js-keygen.html






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            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',
            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%2fsuperuser.com%2fquestions%2f867023%2fgeneration-of-ssh-keygen-in-chrome-os%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            4 Answers
            4






            active

            oldest

            votes








            4 Answers
            4






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            3
            down vote













            Aware this post hasn't been posted on for over a year however I think this may work:




            1. Install Chromebrew

            2. Now install libssh2 (think this package is for generating) by typing in crew install libssh2


            NOTE: You need to have dev mode enabled.
            NOTE 2: I'm posting this for others who may want to do this.






            share|improve this answer





















            • it can be done without dev mode, according to the other answer and comments. i've just did it.
              – cregox
              Mar 3 at 18:15















            up vote
            3
            down vote













            Aware this post hasn't been posted on for over a year however I think this may work:




            1. Install Chromebrew

            2. Now install libssh2 (think this package is for generating) by typing in crew install libssh2


            NOTE: You need to have dev mode enabled.
            NOTE 2: I'm posting this for others who may want to do this.






            share|improve this answer





















            • it can be done without dev mode, according to the other answer and comments. i've just did it.
              – cregox
              Mar 3 at 18:15













            up vote
            3
            down vote










            up vote
            3
            down vote









            Aware this post hasn't been posted on for over a year however I think this may work:




            1. Install Chromebrew

            2. Now install libssh2 (think this package is for generating) by typing in crew install libssh2


            NOTE: You need to have dev mode enabled.
            NOTE 2: I'm posting this for others who may want to do this.






            share|improve this answer












            Aware this post hasn't been posted on for over a year however I think this may work:




            1. Install Chromebrew

            2. Now install libssh2 (think this package is for generating) by typing in crew install libssh2


            NOTE: You need to have dev mode enabled.
            NOTE 2: I'm posting this for others who may want to do this.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Mar 30 '16 at 6:53









            Ben

            312




            312












            • it can be done without dev mode, according to the other answer and comments. i've just did it.
              – cregox
              Mar 3 at 18:15


















            • it can be done without dev mode, according to the other answer and comments. i've just did it.
              – cregox
              Mar 3 at 18:15
















            it can be done without dev mode, according to the other answer and comments. i've just did it.
            – cregox
            Mar 3 at 18:15




            it can be done without dev mode, according to the other answer and comments. i've just did it.
            – cregox
            Mar 3 at 18:15












            up vote
            2
            down vote













            First taking look at https://sites.google.com/site/chromeoswikisite/home/tips-and-tricks: Private keys have to be generated on a different computer and copied to the File Shelf of the Chromebook via SD Card.



            Now after you have generated your key and copied it to SD card, take a look at this page :



            Download your key to the Downloads directory. I keep an encrypted copy of my key in Google Drive.
            Press Ctrl-Alt-T to open a terminal tab.
            At the crosh> prompt, type the following:
            ssh
            user <your-user-name>
            host <your-host-name>
            key <your-key-filename> (not the full path)
            connect





            share|improve this answer

















            • 1




              No. I must create a key for my ChromeOS, since I want to connect to my server, which requires a known client via key generated in the client computer.
              – user2979409
              Jan 20 '15 at 10:53






            • 1




              I don't think so, IMHO you can as well generate the key elsewhere. Anyway, the the crosh shell doesn't have any command for creating a key
              – duDE
              Jan 20 '15 at 10:56










            • indeed, generating it elsewhere and using it with this worked perfectly for me! chromium.googlesource.com/apps/libapps/+/master/nassh/doc/… no need for root/devmode
              – cregox
              Mar 3 at 18:12

















            up vote
            2
            down vote













            First taking look at https://sites.google.com/site/chromeoswikisite/home/tips-and-tricks: Private keys have to be generated on a different computer and copied to the File Shelf of the Chromebook via SD Card.



            Now after you have generated your key and copied it to SD card, take a look at this page :



            Download your key to the Downloads directory. I keep an encrypted copy of my key in Google Drive.
            Press Ctrl-Alt-T to open a terminal tab.
            At the crosh> prompt, type the following:
            ssh
            user <your-user-name>
            host <your-host-name>
            key <your-key-filename> (not the full path)
            connect





            share|improve this answer

















            • 1




              No. I must create a key for my ChromeOS, since I want to connect to my server, which requires a known client via key generated in the client computer.
              – user2979409
              Jan 20 '15 at 10:53






            • 1




              I don't think so, IMHO you can as well generate the key elsewhere. Anyway, the the crosh shell doesn't have any command for creating a key
              – duDE
              Jan 20 '15 at 10:56










            • indeed, generating it elsewhere and using it with this worked perfectly for me! chromium.googlesource.com/apps/libapps/+/master/nassh/doc/… no need for root/devmode
              – cregox
              Mar 3 at 18:12















            up vote
            2
            down vote










            up vote
            2
            down vote









            First taking look at https://sites.google.com/site/chromeoswikisite/home/tips-and-tricks: Private keys have to be generated on a different computer and copied to the File Shelf of the Chromebook via SD Card.



            Now after you have generated your key and copied it to SD card, take a look at this page :



            Download your key to the Downloads directory. I keep an encrypted copy of my key in Google Drive.
            Press Ctrl-Alt-T to open a terminal tab.
            At the crosh> prompt, type the following:
            ssh
            user <your-user-name>
            host <your-host-name>
            key <your-key-filename> (not the full path)
            connect





            share|improve this answer












            First taking look at https://sites.google.com/site/chromeoswikisite/home/tips-and-tricks: Private keys have to be generated on a different computer and copied to the File Shelf of the Chromebook via SD Card.



            Now after you have generated your key and copied it to SD card, take a look at this page :



            Download your key to the Downloads directory. I keep an encrypted copy of my key in Google Drive.
            Press Ctrl-Alt-T to open a terminal tab.
            At the crosh> prompt, type the following:
            ssh
            user <your-user-name>
            host <your-host-name>
            key <your-key-filename> (not the full path)
            connect






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jan 20 '15 at 10:47









            duDE

            13.1k52937




            13.1k52937








            • 1




              No. I must create a key for my ChromeOS, since I want to connect to my server, which requires a known client via key generated in the client computer.
              – user2979409
              Jan 20 '15 at 10:53






            • 1




              I don't think so, IMHO you can as well generate the key elsewhere. Anyway, the the crosh shell doesn't have any command for creating a key
              – duDE
              Jan 20 '15 at 10:56










            • indeed, generating it elsewhere and using it with this worked perfectly for me! chromium.googlesource.com/apps/libapps/+/master/nassh/doc/… no need for root/devmode
              – cregox
              Mar 3 at 18:12
















            • 1




              No. I must create a key for my ChromeOS, since I want to connect to my server, which requires a known client via key generated in the client computer.
              – user2979409
              Jan 20 '15 at 10:53






            • 1




              I don't think so, IMHO you can as well generate the key elsewhere. Anyway, the the crosh shell doesn't have any command for creating a key
              – duDE
              Jan 20 '15 at 10:56










            • indeed, generating it elsewhere and using it with this worked perfectly for me! chromium.googlesource.com/apps/libapps/+/master/nassh/doc/… no need for root/devmode
              – cregox
              Mar 3 at 18:12










            1




            1




            No. I must create a key for my ChromeOS, since I want to connect to my server, which requires a known client via key generated in the client computer.
            – user2979409
            Jan 20 '15 at 10:53




            No. I must create a key for my ChromeOS, since I want to connect to my server, which requires a known client via key generated in the client computer.
            – user2979409
            Jan 20 '15 at 10:53




            1




            1




            I don't think so, IMHO you can as well generate the key elsewhere. Anyway, the the crosh shell doesn't have any command for creating a key
            – duDE
            Jan 20 '15 at 10:56




            I don't think so, IMHO you can as well generate the key elsewhere. Anyway, the the crosh shell doesn't have any command for creating a key
            – duDE
            Jan 20 '15 at 10:56












            indeed, generating it elsewhere and using it with this worked perfectly for me! chromium.googlesource.com/apps/libapps/+/master/nassh/doc/… no need for root/devmode
            – cregox
            Mar 3 at 18:12






            indeed, generating it elsewhere and using it with this worked perfectly for me! chromium.googlesource.com/apps/libapps/+/master/nassh/doc/… no need for root/devmode
            – cregox
            Mar 3 at 18:12












            up vote
            0
            down vote













            If you don't want to run in developer mode you can use this extension.



            There is some risk in this process as keys are synced in chrome, but it's useful for development in a pinch.






            share|improve this answer





















            • That extension doesn't have an option to generate a new key. You have to paste in a PEM-formatted key to add one to the agent.
              – matvore
              Nov 24 at 13:29















            up vote
            0
            down vote













            If you don't want to run in developer mode you can use this extension.



            There is some risk in this process as keys are synced in chrome, but it's useful for development in a pinch.






            share|improve this answer





















            • That extension doesn't have an option to generate a new key. You have to paste in a PEM-formatted key to add one to the agent.
              – matvore
              Nov 24 at 13:29













            up vote
            0
            down vote










            up vote
            0
            down vote









            If you don't want to run in developer mode you can use this extension.



            There is some risk in this process as keys are synced in chrome, but it's useful for development in a pinch.






            share|improve this answer












            If you don't want to run in developer mode you can use this extension.



            There is some risk in this process as keys are synced in chrome, but it's useful for development in a pinch.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Aug 6 at 19:17









            diedthreetimes

            1013




            1013












            • That extension doesn't have an option to generate a new key. You have to paste in a PEM-formatted key to add one to the agent.
              – matvore
              Nov 24 at 13:29


















            • That extension doesn't have an option to generate a new key. You have to paste in a PEM-formatted key to add one to the agent.
              – matvore
              Nov 24 at 13:29
















            That extension doesn't have an option to generate a new key. You have to paste in a PEM-formatted key to add one to the agent.
            – matvore
            Nov 24 at 13:29




            That extension doesn't have an option to generate a new key. You have to paste in a PEM-formatted key to add one to the agent.
            – matvore
            Nov 24 at 13:29










            up vote
            0
            down vote













            If you don't have access to a machine with ssh-keygen or want to generate the key completely locally, you can use this stand-alone page [1] which is a modified version of https://js-keygen.surge.sh/ but with the config options not broken and the site downloadable as a single file. It does not send the keys anywhere or save them in the cloud.



            To generate an SSH keypair, you can click "Generate" with the default options and then click "Save" for each key of the pair.



            [1] Just in case, I have mirrored this page here: https://scito.surge.sh/js-keygen.html






            share|improve this answer



























              up vote
              0
              down vote













              If you don't have access to a machine with ssh-keygen or want to generate the key completely locally, you can use this stand-alone page [1] which is a modified version of https://js-keygen.surge.sh/ but with the config options not broken and the site downloadable as a single file. It does not send the keys anywhere or save them in the cloud.



              To generate an SSH keypair, you can click "Generate" with the default options and then click "Save" for each key of the pair.



              [1] Just in case, I have mirrored this page here: https://scito.surge.sh/js-keygen.html






              share|improve this answer

























                up vote
                0
                down vote










                up vote
                0
                down vote









                If you don't have access to a machine with ssh-keygen or want to generate the key completely locally, you can use this stand-alone page [1] which is a modified version of https://js-keygen.surge.sh/ but with the config options not broken and the site downloadable as a single file. It does not send the keys anywhere or save them in the cloud.



                To generate an SSH keypair, you can click "Generate" with the default options and then click "Save" for each key of the pair.



                [1] Just in case, I have mirrored this page here: https://scito.surge.sh/js-keygen.html






                share|improve this answer














                If you don't have access to a machine with ssh-keygen or want to generate the key completely locally, you can use this stand-alone page [1] which is a modified version of https://js-keygen.surge.sh/ but with the config options not broken and the site downloadable as a single file. It does not send the keys anywhere or save them in the cloud.



                To generate an SSH keypair, you can click "Generate" with the default options and then click "Save" for each key of the pair.



                [1] Just in case, I have mirrored this page here: https://scito.surge.sh/js-keygen.html







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Dec 4 at 17:50

























                answered Nov 24 at 16:02









                matvore

                1011




                1011






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • 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.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • 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%2fsuperuser.com%2fquestions%2f867023%2fgeneration-of-ssh-keygen-in-chrome-os%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

                    Список кардиналов, возведённых папой римским Каликстом III

                    Deduzione

                    Mysql.sock missing - “Can't connect to local MySQL server through socket”