sshd_config

About this tag
The sshd_config file is the configuration file for the OpenSSH server on Windows. It is used to define server settings such as authentication methods, port numbers, and subsystem definitions. In the context of Windows, users can edit sshd_config to change the default shell for SSH logins, for example by adding a Subsystem line to point to PowerShell instead of cmd. The file is typically located at C:\ProgramData\ssh\sshd_config. After making changes, the OpenSSH server must be restarted for them to take effect. This tag covers troubleshooting and configuration of sshd_config on Windows systems.
  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