Hey, > What we need is Guile-SSH bindings for ‘ssh_get_fd’, which would allow > us to get at the actual file descriptor after the connection has been > opened, and to set TCP_NODELAY there: > > http://api.libssh.org/stable/group__libssh__session.html#gafe509fcea47714b5cd277d1e35e83276 > > It’s not 100% clear though if it returns that “right” FD when there’s a > proxy command. wouldn’t it be easier to add the SSH_OPTIONS_NODELAY option (see [1]) to guile-ssh (should be trivial[2]) and let guile-ssh handle all the connection stuff without touching the socket? Or do we need the raw socket elsewhere? Cheers, Lars [1] http://api.libssh.org/stable/group__libssh__session.html#ga7a801b85800baa3f4e16f5b47db0a73d [2] https://github.com/artyom-poptsov/guile-ssh/blob/master/libguile-ssh/session-func.c#L52