[MacPorts] #73757: openssh: User logins fail: error: PAM: pam_open_session(): Cannot make/remove an entry for the specified session

MacPorts noreply at macports.org
Sat May 30 17:14:37 UTC 2026


#73757: openssh: User logins fail: error: PAM: pam_open_session(): Cannot
make/remove an entry for the specified session
---------------------------+----------------------
  Reporter:  milkcanworld  |      Owner:  artkiver
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.12.4
Resolution:                |   Keywords:  leopard
      Port:  openssh       |
---------------------------+----------------------

Comment (by artkiver):

 Interesting news!

 Maybe that methodology can help others encountering related issues?

 Replying to [comment:8 Randrianasulu]:
 > I completely disabled not just PAM but also password auth on Leopard
 side and used "pubkey" method as instructed  by "man ssh" on Termux sude
 >
 > Generate public/priv key pair with ssh-keygen
 >
 > transfer public key to server side.
 >
 > copy its content into .ssh/authorized_keys
 >
 > reload ssh server via "sudo port reload openssh"
 >
 > Now I can log in into my ppc Mac!

-- 
Ticket URL: <https://trac.macports.org/ticket/73757#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list