vscode-remote-release icon indicating copy to clipboard operation
vscode-remote-release copied to clipboard

[Remote-SSH Bug]: vagrant shell overrides to bash

Open orlyprofili opened this issue 1 year ago • 0 comments

Is there an existing issue for this bug?

  • [X] I have searched the existing issues

Required Troubleshooting Steps

  • [X] I have followed these troubleshooting steps
  • [X] I have tried both values of the remote.SSH.useLocalServer setting

Connect Locally

It connects successfully

->

No response

Expected Behavior

  • setup a vagrant ubuntu using vagrant-parallels

  • switch to zsh: chsh -s $(which zsh

  • use vagrant ssh, and it goes to zsh

  • us vscode Remote-SSH: Connect to host... and it will go to bash

  • you can mess with the vagrant file, /etc/passwd, /etc/environment and it will still go to bash

  • I added this setting: "terminal.integrated.defaultProfile.linux": "zsh", and it's now fixed, goes to zsh

  • something about the Remote-SSH plugin/commands is making it persist to bash

  • my first time using, this happened but I restarted vscode and was ok

  • I destroyed my vagrant and reinstalled and since then, it's persisted on bash until I tried the fix mentioned above.

This might be a bug with vscode terminal, but I'm thinking it's here.

Steps To Reproduce

No response

Remote-SSH Log

not applicable

Anything else?

No response

orlyprofili avatar Jun 22 '24 23:06 orlyprofili