I am trying to figure out how to change the authorization process for ssh and normal logins. I have used public and private keys before but now I want to try using something else. I already have the program written now, I just need help implementing it. I was doing some research on GRUB and still was not able to find the process.

I'm going to implement a dynamic password system. I don't like static passwords or keys.

  • 1
    It's unclear what you actually want to do and need help with - maybe elaborate? Oct 1, 2020 at 7:39
  • I updated it. Im just trying to switch out the traditional authentication for something custom.
    – Boheyga
    Oct 1, 2020 at 14:16
  • the files that manage the authentication configuration are, on client: /etc/ssh/ssh_config, on server: /etc/ssh/sshd_config - i guess you will have to configure both files, the authentication "type" is showed on the sshd_config.
    – johncli
    Oct 1, 2020 at 19:10
  • Thank you, I looked into both files and I think your on to something. I am not sure what calls this file. If I can figure that part out and replace it with my own code, I should be good to go.
    – Boheyga
    Oct 1, 2020 at 19:24
  • Password based login in normal login is handled by PAM. ssh also calls pam when password authentication is required.
    – user68186
    Oct 2, 2020 at 20:15


You must log in to answer this question.

Browse other questions tagged .