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

Request for sshrc support #2293

Open
cipherswami opened this issue Oct 30, 2024 · 1 comment
Open

Request for sshrc support #2293

cipherswami opened this issue Oct 30, 2024 · 1 comment

Comments

@cipherswami
Copy link

Summary of the new feature / enhancement

In UNIX implementation has local rc file in ~/.ssh and system wide sshrc fie in /etc/ssh, which runs when ssh'ed.

Proposed technical implementation details (optional)

Please implement a similar feature for Windows OpenSSH to use PowerShell as the default SSH shell, while still not effecting other sessions like SFTP, VS Code SSH server.

@StevenBucher98
Copy link
Collaborator

Thanks for the issue @cipherswami! We have documentation on how to set up your default shell here, https://github.com/PowerShell/Win32-OpenSSH/wiki/DefaultShell, would this satisfy your scenario, or do you need more commands to be ran in the sshrc file?

Additionally, I am not sure how we could only use this for particular sessions since the sshrc seems to be a core feature for ssh and would affect any session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants