Net_SSH2::getServerHostKeyAlgorithms PHP Method

getServerHostKeyAlgorithms() public method

Return a list of the host key (public key) algorithms the server supports.
public getServerHostKeyAlgorithms ( ) : array
return array
    function getServerHostKeyAlgorithms()
    {
        $this->_connect();
        return $this->server_host_key_algorithms;
    }