Skip to content

Commit e2381f6

Browse files
committed
Fix issue with pam where it was looking for an sshd pam file instead of hpnsshd.
Mitch found this. Seems to have been cause by a change in OpenSSH 9.8 where they made the pam service configurable and made the default sshd. This will work in most situations because OpenSSH is already installed but will fail if the only installed ssh server is hpn-ssh. This fix simply changes the default name from 'sshd' to 'hpnsshd'.
1 parent 15b6f41 commit e2381f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servconf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
#include "sshbuf.h"
7272

7373
#if !defined(SSHD_PAM_SERVICE)
74-
# define SSHD_PAM_SERVICE "sshd"
74+
# define SSHD_PAM_SERVICE "hpnsshd"
7575
#endif
7676

7777
static void add_listen_addr(ServerOptions *, const char *,

0 commit comments

Comments
 (0)