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
--
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