Skip to content
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 Bug]: vagrant shell overrides to bash #9998

Open
3 tasks done
orlyprofili opened this issue Jun 22, 2024 · 0 comments
Open
3 tasks done

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

orlyprofili opened this issue Jun 22, 2024 · 0 comments
Assignees
Labels
ssh Issue in vscode-remote SSH

Comments

@orlyprofili
Copy link

Is there an existing issue for this bug?

  • I have searched the existing issues

Required Troubleshooting Steps

  • I have followed these troubleshooting steps
  • 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 orlyprofili added the ssh Issue in vscode-remote SSH label Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ssh Issue in vscode-remote SSH
Projects
None yet
Development

No branches or pull requests

2 participants