Windows Subsystem for Linux home versus Windows Environment home

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I've been trying to get it to connect to my github, but keep getting an error.
I think it thinks I'm a different user :( ... (don't ask why i have two similarly named users, i don't even know anymore...)



debug1: key_load_public: No such file or directory
debug1: identity file /home/solarmew/.ssh/id_rsa type -1


because there's definitely a C:Userssolar.sshid_rsa.pub



I can't figure out how to switch or how to get to that file :(










share|improve this question









New contributor




Raksha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • why downvote?..
    – Raksha
    50 mins ago










  • Welcome to U&L! Your question doesn't provide enough information to work out what the problem is. How are you attempting to connect to github -- what is the exact command that you run when this message appears? Is there any other output? Does the same identity file work from other machines?
    – JigglyNaga
    8 mins ago














up vote
0
down vote

favorite












I've been trying to get it to connect to my github, but keep getting an error.
I think it thinks I'm a different user :( ... (don't ask why i have two similarly named users, i don't even know anymore...)



debug1: key_load_public: No such file or directory
debug1: identity file /home/solarmew/.ssh/id_rsa type -1


because there's definitely a C:Userssolar.sshid_rsa.pub



I can't figure out how to switch or how to get to that file :(










share|improve this question









New contributor




Raksha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • why downvote?..
    – Raksha
    50 mins ago










  • Welcome to U&L! Your question doesn't provide enough information to work out what the problem is. How are you attempting to connect to github -- what is the exact command that you run when this message appears? Is there any other output? Does the same identity file work from other machines?
    – JigglyNaga
    8 mins ago












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I've been trying to get it to connect to my github, but keep getting an error.
I think it thinks I'm a different user :( ... (don't ask why i have two similarly named users, i don't even know anymore...)



debug1: key_load_public: No such file or directory
debug1: identity file /home/solarmew/.ssh/id_rsa type -1


because there's definitely a C:Userssolar.sshid_rsa.pub



I can't figure out how to switch or how to get to that file :(










share|improve this question









New contributor




Raksha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I've been trying to get it to connect to my github, but keep getting an error.
I think it thinks I'm a different user :( ... (don't ask why i have two similarly named users, i don't even know anymore...)



debug1: key_load_public: No such file or directory
debug1: identity file /home/solarmew/.ssh/id_rsa type -1


because there's definitely a C:Userssolar.sshid_rsa.pub



I can't figure out how to switch or how to get to that file :(







ubuntu windows-subsystem-for-linux






share|improve this question









New contributor




Raksha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Raksha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 49 mins ago









DopeGhoti

41.6k55180




41.6k55180






New contributor




Raksha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 1 hour ago









Raksha

1071




1071




New contributor




Raksha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Raksha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Raksha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











  • why downvote?..
    – Raksha
    50 mins ago










  • Welcome to U&L! Your question doesn't provide enough information to work out what the problem is. How are you attempting to connect to github -- what is the exact command that you run when this message appears? Is there any other output? Does the same identity file work from other machines?
    – JigglyNaga
    8 mins ago
















  • why downvote?..
    – Raksha
    50 mins ago










  • Welcome to U&L! Your question doesn't provide enough information to work out what the problem is. How are you attempting to connect to github -- what is the exact command that you run when this message appears? Is there any other output? Does the same identity file work from other machines?
    – JigglyNaga
    8 mins ago















why downvote?..
– Raksha
50 mins ago




why downvote?..
– Raksha
50 mins ago












Welcome to U&L! Your question doesn't provide enough information to work out what the problem is. How are you attempting to connect to github -- what is the exact command that you run when this message appears? Is there any other output? Does the same identity file work from other machines?
– JigglyNaga
8 mins ago




Welcome to U&L! Your question doesn't provide enough information to work out what the problem is. How are you attempting to connect to github -- what is the exact command that you run when this message appears? Is there any other output? Does the same identity file work from other machines?
– JigglyNaga
8 mins ago










2 Answers
2






active

oldest

votes

















up vote
1
down vote













Your Windows "home" directory (e. g. C:UsersYourName) is not your WSL home directory (e. g. /home/yourname). Copy your SSH key from your Windows home into your WSL home and it should work properly.






share|improve this answer




















  • how do I get to it? sorry, I've never used this before, so I don't really know how it works :<
    – Raksha
    48 mins ago











  • Open your WSL shell, and you will by default be in your home directory. Run the command cp -pr /mnt/c/Users/yourusername/.ssh ./.ssh.
    – DopeGhoti
    43 mins ago











  • that copies the whole ssh folder from windows to wsl ssh folder? It's still saying it can't find the id_rsa file
    – Raksha
    39 mins ago


















up vote
-1
down vote













uhh... i believe it takes your windows user account as the ubuntu user account ,at least it did for me. try switching your windows account?






share|improve this answer








New contributor




jkan5855 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    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: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );






    Raksha is a new contributor. Be nice, and check out our Code of Conduct.









     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f474634%2fwindows-subsystem-for-linux-home-versus-windows-environment-home%23new-answer', 'question_page');

    );

    Post as a guest






























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote













    Your Windows "home" directory (e. g. C:UsersYourName) is not your WSL home directory (e. g. /home/yourname). Copy your SSH key from your Windows home into your WSL home and it should work properly.






    share|improve this answer




















    • how do I get to it? sorry, I've never used this before, so I don't really know how it works :<
      – Raksha
      48 mins ago











    • Open your WSL shell, and you will by default be in your home directory. Run the command cp -pr /mnt/c/Users/yourusername/.ssh ./.ssh.
      – DopeGhoti
      43 mins ago











    • that copies the whole ssh folder from windows to wsl ssh folder? It's still saying it can't find the id_rsa file
      – Raksha
      39 mins ago















    up vote
    1
    down vote













    Your Windows "home" directory (e. g. C:UsersYourName) is not your WSL home directory (e. g. /home/yourname). Copy your SSH key from your Windows home into your WSL home and it should work properly.






    share|improve this answer




















    • how do I get to it? sorry, I've never used this before, so I don't really know how it works :<
      – Raksha
      48 mins ago











    • Open your WSL shell, and you will by default be in your home directory. Run the command cp -pr /mnt/c/Users/yourusername/.ssh ./.ssh.
      – DopeGhoti
      43 mins ago











    • that copies the whole ssh folder from windows to wsl ssh folder? It's still saying it can't find the id_rsa file
      – Raksha
      39 mins ago













    up vote
    1
    down vote










    up vote
    1
    down vote









    Your Windows "home" directory (e. g. C:UsersYourName) is not your WSL home directory (e. g. /home/yourname). Copy your SSH key from your Windows home into your WSL home and it should work properly.






    share|improve this answer












    Your Windows "home" directory (e. g. C:UsersYourName) is not your WSL home directory (e. g. /home/yourname). Copy your SSH key from your Windows home into your WSL home and it should work properly.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered 50 mins ago









    DopeGhoti

    41.6k55180




    41.6k55180











    • how do I get to it? sorry, I've never used this before, so I don't really know how it works :<
      – Raksha
      48 mins ago











    • Open your WSL shell, and you will by default be in your home directory. Run the command cp -pr /mnt/c/Users/yourusername/.ssh ./.ssh.
      – DopeGhoti
      43 mins ago











    • that copies the whole ssh folder from windows to wsl ssh folder? It's still saying it can't find the id_rsa file
      – Raksha
      39 mins ago

















    • how do I get to it? sorry, I've never used this before, so I don't really know how it works :<
      – Raksha
      48 mins ago











    • Open your WSL shell, and you will by default be in your home directory. Run the command cp -pr /mnt/c/Users/yourusername/.ssh ./.ssh.
      – DopeGhoti
      43 mins ago











    • that copies the whole ssh folder from windows to wsl ssh folder? It's still saying it can't find the id_rsa file
      – Raksha
      39 mins ago
















    how do I get to it? sorry, I've never used this before, so I don't really know how it works :<
    – Raksha
    48 mins ago





    how do I get to it? sorry, I've never used this before, so I don't really know how it works :<
    – Raksha
    48 mins ago













    Open your WSL shell, and you will by default be in your home directory. Run the command cp -pr /mnt/c/Users/yourusername/.ssh ./.ssh.
    – DopeGhoti
    43 mins ago





    Open your WSL shell, and you will by default be in your home directory. Run the command cp -pr /mnt/c/Users/yourusername/.ssh ./.ssh.
    – DopeGhoti
    43 mins ago













    that copies the whole ssh folder from windows to wsl ssh folder? It's still saying it can't find the id_rsa file
    – Raksha
    39 mins ago





    that copies the whole ssh folder from windows to wsl ssh folder? It's still saying it can't find the id_rsa file
    – Raksha
    39 mins ago













    up vote
    -1
    down vote













    uhh... i believe it takes your windows user account as the ubuntu user account ,at least it did for me. try switching your windows account?






    share|improve this answer








    New contributor




    jkan5855 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      up vote
      -1
      down vote













      uhh... i believe it takes your windows user account as the ubuntu user account ,at least it did for me. try switching your windows account?






      share|improve this answer








      New contributor




      jkan5855 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.



















        up vote
        -1
        down vote










        up vote
        -1
        down vote









        uhh... i believe it takes your windows user account as the ubuntu user account ,at least it did for me. try switching your windows account?






        share|improve this answer








        New contributor




        jkan5855 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        uhh... i believe it takes your windows user account as the ubuntu user account ,at least it did for me. try switching your windows account?







        share|improve this answer








        New contributor




        jkan5855 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        share|improve this answer



        share|improve this answer






        New contributor




        jkan5855 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered 52 mins ago









        jkan5855

        13




        13




        New contributor




        jkan5855 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        jkan5855 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        jkan5855 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.




















            Raksha is a new contributor. Be nice, and check out our Code of Conduct.









             

            draft saved


            draft discarded


















            Raksha is a new contributor. Be nice, and check out our Code of Conduct.












            Raksha is a new contributor. Be nice, and check out our Code of Conduct.











            Raksha is a new contributor. Be nice, and check out our Code of Conduct.













             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f474634%2fwindows-subsystem-for-linux-home-versus-windows-environment-home%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Displaying single band from multi-band raster using QGIS

            How many registers does an x86_64 CPU actually have?