I am trying to connect to a machine running Linux from Windows
import LibSSH as ssh
session = ssh.Session("192.168.80.9"; user="root", log_verbosity=ssh.SSH_LOG_FUNCTIONS)
crashes with
Unhandled Task ERROR: ArgumentError: Passed file descriptor fd=Base.Libc.WindowsRawSocket(0xffffffffffffffff) is not a valid file descriptor
On my system the first two calls to ret = lib.ssh_connect(session_ptr) return SSH_AGAIN. Only after the first call session.fd is a positive number. Does _wait_loop(session) start too early?
I use LibSSH v0.7.1 and Julia v1.12.5.
I am trying to connect to a machine running Linux from Windows
crashes with
On my system the first two calls to
ret = lib.ssh_connect(session_ptr)returnSSH_AGAIN. Only after the first callsession.fdis a positive number. Does_wait_loop(session)start too early?I use
LibSSH v0.7.1andJulia v1.12.5.