Documentation
¶
Index ¶
Constants ¶
View Source
const ( PAMConfigFile = "/etc/pam.d/sshd" HookBinaryPath = "/usr/local/bin/pika-agent" HookCommand = "ssh-login-hook" SSHDConfigFile = "/etc/ssh/sshd_config" UsePAMDirective = "UsePAM yes" )
View Source
const ( DefaultSocketDir = "/run/pika" DefaultSocketPath = "/run/pika/ssh_login.sock" )
Variables ¶
This section is empty.
Functions ¶
func BuildEventFromEnv ¶
func BuildEventFromEnv() protocol.SSHLoginEvent
BuildEventFromEnv 从 PAM 环境变量构建事件
Types ¶
Click to show internal directories.
Click to hide internal directories.