libssh2-hs icon indicating copy to clipboard operation
libssh2-hs copied to clipboard

when calling channelShell, ghc throws SOCKET_DISCONNECT

Open dwat3r opened this issue 11 years ago • 0 comments

When i use the channelShell function in my program, the ssh server sends SOCKET_DISCONNECT error when i try to connect to it.

I've looked into the ssh server logs,and it says:

Nov 19 09:00:10 varch sshd[13210]: Accepted password for dwat3r from 127.0.0.1 port 44237 ssh2 Nov 19 09:00:10 varch sshd[13210]: pam_unix(sshd:session): session opened for user dwat3r by (uid=0) Nov 19 09:00:10 varch sshd[13212]: Packet integrity error (4 bytes remaining) at session.c:2196

what is the problem?

dwat3r avatar Nov 18 '14 15:11 dwat3r