-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remote SSH password keeps asking password (Installation already in progress) #2518
Comments
Could you try again with 1.43 and share the full log from the Remote-SSH output channel? Thanks |
Here is the full log. I tried the password input twice, and then, entered Escape to cancel. Thank you.
|
Similar issue, in the output window I can see my connection is successful, I get the output that is expected when you successfully connect to my host, but it repeatedly asks for my password. |
You should be able to get out of this state by deleting the file in the log, If it happens again, you might try setting |
It worked! I mean I deleted the file. Thank you for the solution. FYI, the message below still pops up right before the password prompt shows up. It does not seem to do any harm, so far.
|
Where do you find this file? on mac or ubuntu |
In my case, I was remotely logging in Ubuntu. |
It worked for me also, but as you mentioned the message comes at the right-bottom end of VS Code Insider. |
I believe that this occurs when VScode disconnects in a non-intended way. |
I would like to add that you need to login as root user to delete this file,
and then
|
so this happened to me again, but this time deleting the file isnt fixing it. The file just reappears, and the issue is back. |
Removed the file, but the issue still persists. Tried to remove all entries from the ssh config files on host but of no success |
I will add a setting to go back to using |
This symptom reproduced in both macOS Catalina 10.15.3 and Windows 10 to connect to a Docker container of Ubuntu 18.04.3 LTS through ssh. The version of VS Code is 1.43.2 (user setup). |
Having this issue right now with a virtual machine, deleting the folders or using 'Kill VS Code..' either don't work |
Same problem here. With mac and vscode 1.45.1. Was hoping to use vscode instead of nano when connecting to a remote ubuntu machine. Will it be fixed soon? |
Running "Kill VS Code Server on Host..." fixed for me 👍 |
Running "Kill VS Code Server on Host..." fixed for mine too 👍 |
Just to make it clearer, the exact command to run in the command palette
|
I quit vscode unintentionally and when I reopened it, it didn't connect with ssh anymore (maybe there was an automatic update) even if the ssh by normal shell worked. I solved it in version 1.46.1 with the command Kill VS Code Server on Host.... Thank you! |
I changed the default back to |
Please let me know if anyone continues to see this on a Linux server |
@roblourens are there any specific verification steps here? I haven't personally ever run into this issue. |
I'm trying to connect to a Ubuntu 14.04 machine from Win10 with VSCode-Insider 1.48.0, and also meet this problem. I have configured ssh pub keys in that ubuntu machine. After deleting ~/.vscode-server and re-open vscode-remote, it still asking me password. I've checked my VSCode setting, But with same configuration, I can connect to Ubuntu 16.04 machines. |
I also have this problem, but can't find ~/.vscode-server only ~/.vscode Ubuntu 18.04 |
Same happened here, only removing the lock file worked.
|
saved my ass |
Issue Type: Bug
VSCODE keeps asking password, i.e., repeating steps 2 and 3. I tried password input repeat at least 7 times.
Before showing the password prompt up, a message pops up saying,
I tried disabling remote.SSH.userLocalServer, but, it did not work.
As this started after VSCODE update to 1.43, I rolled back the VSCODE version to 1.42.1 and re-installed Remote SSH. Then, the same remote connection came back to work as it used to before this VSCODE update.
FYI, currently, the VSCODE version is 1.43 as you see because I updated it again to show you the system information that is actually having trouble. I also tried "Remote - SSH (Nightly)," but, it did not work either.
Extension version: 0.50.0
VS Code version: Code 1.43.0 (78a4c91400152c0f27ba4d363eb56d2835f9903a, 2020-03-09T19:47:57.235Z)
OS version: Windows_NT x64 10.0.17134
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: