session startup

About this tag
The session startup tag covers discussions about configuring the initial shell environment when logging into a Windows system, particularly over SSH. Topics include setting PowerShell as the default shell instead of Command Prompt (cmd) on Windows 11, editing the sshd_config file to specify a custom subsystem, and troubleshooting why changes do not take effect after restarting the OpenSSH server. The content focuses on remote login scenarios from Linux to Windows and the steps needed to alter the default command-line interface that appears at session start.
  1. Z

    Powershell as default shell

    I have a Linux Fedora42 workstation and I login from Linux into a Windows11 Pro computer on the same network ... it work OK. But I want to be logged into Powershell instead of cmd on the Windows computer. What I did was to add following line: Subsystem powershell...
Back
Top