Modify Cygwin sshd to support login into user SYSTEM?

Martin Wege martin.l.wege@gmail.com
Fri Dec 20 14:36:32 GMT 2024


On Fri, Dec 20, 2024 at 3:22 PM Oskar Skog via Cygwin <cygwin@cygwin.com> wrote:
>
> 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.

WOW

I tried that for Windows sshd, but only got a

fatal: ga_init, unable to resolve user system

in the logs.
How can I do the same for Windows sshd too?

Thanks,
Martin


More information about the Cygwin mailing list