PHP Manual
Function Reference
Other Services
SSH2
Introduction
Installing/Configuring
Predefined Constants
SSH2 Functions
Predefined Constants
ssh2_auth_agent
SSH2
PHP Manual
SSH2 Functions
Table of Contents
ssh2_auth_agent
— Authenticate over SSH using the ssh agent
ssh2_auth_hostbased_file
— Authenticate using a public hostkey
ssh2_auth_none
— Authenticate as "none"
ssh2_auth_password
— Authenticate over SSH using a plain password
ssh2_auth_pubkey_file
— Authenticate using a public key
ssh2_connect
— Connect to an SSH server
ssh2_exec
— Execute a command on a remote server
ssh2_fetch_stream
— Fetch an extended data stream
ssh2_fingerprint
— Retrieve fingerprint of remote server
ssh2_methods_negotiated
— Return list of negotiated methods
ssh2_publickey_add
— Add an authorized publickey
ssh2_publickey_init
— Initialize Publickey subsystem
ssh2_publickey_list
— List currently authorized publickeys
ssh2_publickey_remove
— Remove an authorized publickey
ssh2_scp_recv
— Request a file via SCP
ssh2_scp_send
— Send a file via SCP
ssh2_sftp_chmod
— Changes file mode
ssh2_sftp_lstat
— Stat a symbolic link
ssh2_sftp_mkdir
— Create a directory
ssh2_sftp_readlink
— Return the target of a symbolic link
ssh2_sftp_realpath
— Resolve the realpath of a provided path string
ssh2_sftp_rename
— Rename a remote file
ssh2_sftp_rmdir
— Remove a directory
ssh2_sftp_stat
— Stat a file on a remote filesystem
ssh2_sftp_symlink
— Create a symlink
ssh2_sftp_unlink
— Delete a file
ssh2_sftp
— Initialize SFTP subsystem
ssh2_shell
— Request an interactive shell
ssh2_tunnel
— Open a tunnel through a remote server