Forum und email

ssh2_publickey_init

(PECL ssh2:0.10)

ssh2_publickey_init — Initialize Publickey subsystem

설명

resource ssh2_publickey_init ( resource $session )

Request the Publickey subsystem from an already connected SSH2 server.

The publickey subsystem allows an already connected and authenticated client to manage the list of authorized public keys stored on the target server in an implementation agnostic manner. If the remote server does not support the publickey subsystem, the ssh2_publickey_init() function will return FALSE.

매개변수

session

반환값

Returns an SSH2 Publickey Subsystem resource for use with all other ssh2_publickey_*() methods, or FALSE on failure.

주의

Note: 공개키 부시스템은 서버에서 공개키를 관리하여 어떤 클라이언트가 이미 인증되었는지 확인하는데 사용합니다. 공개키를 사용하여 원격 시스템을 인증하려면 ssh2_auth_pubkey_file() 함수를 사용하십시오.