ssh2_publickey_init

(PECL)

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.

注意: この公開キーサブシステムは、クライアントが認証 の 公開キーをサーバ上で管理するために使用されます。 公開キー認証によりリモートシステムで認証を行うには、かわりに ssh2_auth_pubkey_file() 関数を使用してください。

返り値

Returns an SSH2 Publickey Subsystem resource for use with all other ssh2_publickey_*() methods.

参考

ssh2_publickey_add()
ssh2_publickey_remove()
ssh2_publickey_list()