Refactored to use wsh_ssh_session_t instead of ssh_session