以下常量由此扩展定义,只有在扩展已编译到PHP中或在运行时动态加载时才可用。
SSH2_FINGERPRINT_MD5 (int)SSH2_FINGERPRINT_SHA1 (int)SSH2_FINGERPRINT_HEX (int)SSH2_FINGERPRINT_RAW (int)SSH2_TERM_UNIT_CHARS (int)width 和 height 以字符大小提供的标志,用于ssh2_shell() 函数。
SSH2_TERM_UNIT_PIXELS (int)width 和 height 以像素单位提供的标志,用于ssh2_shell() 函数。
SSH2_DEFAULT_TERM_WIDTH (int)SSH2_DEFAULT_TERM_HEIGHT (int)SSH2_DEFAULT_TERM_UNIT (int)SSH2_STREAM_STDIO (int)SSH2_STREAM_STDERR (int)SSH2_DEFAULT_TERMINAL (string)SSH2_POLLIN (int)SSH2_POLLEXT (int)SSH2_POLLOUT (int)SSH2_POLLERR (int)SSH2_POLLHUP (int)SSH2_POLLNVAL (int)SSH2_POLL_SESSION_CLOSED (int)SSH2_POLL_CHANNEL_CLOSED (int)SSH2_POLL_LISTENER_CLOSED (int)