Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想减少 ssh 连接时间,通过调试 sshd 发现 libpam/etc/pam.d/sshd在每次连接时都会加载文件中指定的所有 pam 模块。
/etc/pam.d/sshd
如何配置/修改 libpam 使其仅在第一次连接时加载模块,在每次连接都使用相同的模块之后?我知道 libpam 是为加载 pam 模块而设计的,但想加载 pam 模块一次。
让我知道是否有人有任何想法。
我在用着OpenSSH_5.8p1, OpenSSL 1.0.0l and Linux-PAM-1.1.3
OpenSSH_5.8p1, OpenSSL 1.0.0l and Linux-PAM-1.1.3