ssh under newgrp'ed session fails when using HostbasedAuthentication
Issue
-
When using HostbasedAuthentication, performing a
sshcommand succeeds normally$ id uid=1000 (myuser) gid=1000(myuser) groups=1000(myuser), 100(users) $ ssh remote-system true $ -
When using HostbasedAuthentication, performing a
sshcommand after changing group usingnewgrpfails$ id uid=1000 (myuser) gid=100(users) groups=100(users), 1000(myuser) $ newgrp users $ ssh remote-system true setresgid 1000: Operation not permitted ssh_keysign: no reply key_sign failed $
Environment
- Red Hat Enterprise Linux 7
- openssh
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
