ssh2_publickey_init

(PECL ssh2 >= 0.10)

ssh2_publickey_init Initialize Publickey subsystem

说锟斤拷

ssh2_publickey_init ( resource $session ) : resource

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 锟斤拷锟斤拷锟斤拷失锟斤拷时锟斤拷锟斤拷 FALSE.

注锟斤拷

Note: 锟斤拷钥锟斤拷系统锟斤拷锟节癸拷锟斤拷锟斤拷锟斤拷锟斤拷锟�锟斤拷锟斤拷锟斤拷证锟侥客伙拷锟剿的癸拷钥锟斤拷要锟矫癸拷钥锟斤拷证锟斤拷锟斤拷锟斤拷锟斤拷证远锟斤拷系统锟斤拷应使锟斤拷 ssh2_auth_pubkey_file() 锟斤拷锟斤拷锟斤拷

锟轿硷拷