You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This milestone we have changed which server the extension downloads depending on the OS support, the following test plan is to ensure successful connection over the different scenarios
Using Docker, set up a legacy VM on localhost that you can SSH into.
Run docker run -p 2222:22 -it centos:7
Run these commands. The last command will run the SSH server and block:
> yum install openssh-server -y
> echo 'root:mellon' | chpasswd
> sed -i 's/PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config
> sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd
> ssh-keygen -A
> /usr/sbin/sshd -D
In VS Code, run Remote - SSH: Connect current window to host. Add a new host using the command ssh root@localhost -p 2222.
Connect to the host, using the password mellon when prompted. (If asked for an SSH key password, just hit enter so that it asks you for the root user password instead). Verify it works.
In your user settings, set remote.SSH.useExecServer: false
Reload the window and repeat step 4
The text was updated successfully, but these errors were encountered:
Refs: #206790
Complexity: 3
Authors: @connor4312, @deepak1556
Create Issue
This milestone we have changed which server the extension downloads depending on the OS support, the following test plan is to ensure successful connection over the different scenarios
Using Docker, set up a legacy VM on localhost that you can SSH into.
Run
docker run -p 2222:22 -it centos:7
Run these commands. The last command will run the SSH server and block:
In VS Code, run Remote - SSH: Connect current window to host. Add a new host using the command
ssh root@localhost -p 2222
.Connect to the host, using the password
mellon
when prompted. (If asked for an SSH key password, just hit enter so that it asks you for the root user password instead). Verify it works.In your user settings, set
remote.SSH.useExecServer: false
Reload the window and repeat step 4
The text was updated successfully, but these errors were encountered: