ssh_alloc_session_state
ssh = ssh_alloc_session_state();
struct ssh *ssh_alloc_session_state(void);
if ((ssh = ssh_alloc_session_state()) == NULL)