This function is called when the ssh_socket_connect was used on the socket on nonblocking state, and the connection successed.
See Implementation
This function is called when the ssh_socket_connect was used on the socket on nonblocking state, and the connection successed.