Windows Subsystem for Linux home versus Windows Environment home
Clash 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 :(
ubuntu windows-subsystem-for-linux
New contributor
add a comment |Â
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 :(
ubuntu windows-subsystem-for-linux
New contributor
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
add a comment |Â
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 :(
ubuntu windows-subsystem-for-linux
New contributor
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
ubuntu windows-subsystem-for-linux
New contributor
New contributor
edited 49 mins ago
DopeGhoti
41.6k55180
41.6k55180
New contributor
asked 1 hour ago
Raksha
1071
1071
New contributor
New contributor
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
add a comment |Â
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
add a comment |Â
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.
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 commandcp -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
add a comment |Â
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?
New contributor
add a comment |Â
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.
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 commandcp -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
add a comment |Â
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.
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 commandcp -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
add a comment |Â
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.
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.
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 commandcp -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
add a comment |Â
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 commandcp -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
add a comment |Â
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?
New contributor
add a comment |Â
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?
New contributor
add a comment |Â
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?
New contributor
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?
New contributor
New contributor
answered 52 mins ago
jkan5855
13
13
New contributor
New contributor
add a comment |Â
add a comment |Â
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.
Raksha is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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