All Questions
Tagged with windows-subsystem-for-linux ssh
82
questions
0
votes
1
answer
28
views
Git - could not resolve host: bitbucket.org - 'dig' command results
While working in WSL and git pull/push to git, I suddenly get the response
ssh: Could not resolve hostname bitbucket.org: Temporary failure in name resolution
fatal: Could not read from remote ...
1
vote
0
answers
66
views
Unable to clone repository on WSL 2 Ubuntu
So, currently I'm trying to setup 2 SSH keys, one for the company GitLab and one for my personal GitHub. For context, I followed this steps and this is my current /.ssh/config file:
# Company account
...
0
votes
0
answers
45
views
problem with github permission using make command with wsl
I want to use a makefile to deploy my Symfony project. It would connect to the remote host with SSH, change directory, and pull git from github. Here is the makefile:
.PHONY: install deploy
deploy:
...
1
vote
1
answer
158
views
How to mount /home/<my_user>/.ssh folder in devcontainer
I would like git to access to my .ssh folder with the keys while working inside devcontainer, I thought to use runArgs to mount /home/<my_user>/.ssh folder like this:
"runArgs": [
...
0
votes
0
answers
69
views
WSL SSH in VS Code: Bad configuration option: c:\\windows\\system32\\wsl.exe
I'm trying to run SSH through my WSL instance in VS Code. I'm doing this by pointing to a bat file containing the line C:\Windows\system32\wsl.exe ssh %* as described here: https://zitseng.com/...
0
votes
1
answer
179
views
ssh: connect to host 143.42.59.227 port 22: Connection refused
I have two problems:
I can succesfully ssh to my remote Linode server from my wsl terminal (Debian) but since Im not that experienced programming in the terminal I want to use VScode. But as Im ...
0
votes
1
answer
23
views
Error when connecting to remote virtual machine via ssh
Hi I am having trouble connecting to the GCP VM via ssh, for some reason I can connect via ssh -i gpc [email protected] but when I create the config file with this configuration
Host corelogic-vm
...
0
votes
0
answers
110
views
Bash script hangs at times when using "2>&1" and "tee" in a variable
I have a bash script that we are running on Ubuntu 2004 in Windows via WSL 2 that creates a tunnel to gain access to a DB. The script will attempt to connect to many of the below examples so the ...
1
vote
0
answers
138
views
duoconnect not opening browser - Ubuntu 20.04 windows linux subsystem
I'm trying to clone repo from the gitlab. I've already added the ssh keys in my account.
What's supposed to happen when I clone via ssh is that the browser will open for authentication via duoconnect. ...
1
vote
2
answers
1k
views
AWS .pem powershell connection works, WSL returns too open permissions
I am left pondering why this is happening. I wanted to ssh connect to my AWS EC2 instance from WSL, but even after chmod 400 ___.pem multiple times it still returns
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...
1
vote
0
answers
187
views
Setting up SSH for WSL using Ubuntu, but can't edit ssd_config file with VSCode WSL2 window. It won't save - "operation not permitted"?
I'm following these instructions to set up LAMP on WSL. I got to step 3, and made the edits it instructed after "Make these edits:". However, after editing sshd_config using VSCode (in a WSL-...
-1
votes
1
answer
1k
views
SSH connection to git not working anymore on WSL2
I'm using a windows 11 OS and was previously using SSH just fine to clone, pull and push my code to github using WSL2 running Ubuntu 22.0, however, I dont know what exactly happened (I have done this ...
3
votes
0
answers
2k
views
How can I use ssh multiplexing on windows?
I am using remote - ssh on vscode to access a remote caen server. On WSL, I can use ssh multiplexing with the following config file:
Host *
ControlMaster auto
ControlPersist yes
ControlPath ~/.ssh/...
0
votes
0
answers
289
views
Starting WSL with SSH command from cmd
I am setting up hotkeys currently with AutoHotKey, inside I run the line "Run "C:/Windows/System32/wsl.exe ssh host@ip"
What this does it load that file and pass it that command as if ...
0
votes
0
answers
53
views
SSH from local Ubuntu laptop to Windows host usinng Remote-SSH VScode
Can someone help me with the steps to connect my Ubuntu local laptop to a remote Windows 10 host with WSL using Remote -SSH extension vscode?
I tried to find a tutorial but couldn't.