Modify Cygwin sshd to support login into user SYSTEM?
Oskar Skog
oskar@oskog97.com
Fri Dec 20 14:21:39 GMT 2024
On 2024-12-20 14:01, Cedric Blancher via Cygwin wrote:
> Good morning!
>
> Is it possible to modify Cygwin sshd to support logins into user SYSTEM?
>
> Ced
No modifications needed.
Run ssh-host-config and answer "no" to strictmodes.
mkdir -p ~SYSTEM/.ssh
ssh-keygen
cp ~/.ssh/id_rsa.puv ~SYSTEM/.ssh/authorized_keys
You can now log in as SYSTEM and correct the permissions of the SYSTEM's
home directory, .ssh, and the files in .ssh.
Once the permissions are sane you can run ssh-host-config again.
/Oskar
More information about the Cygwin
mailing list