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

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to