libssh2-hs
libssh2-hs copied to clipboard
when calling channelShell, ghc throws SOCKET_DISCONNECT
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?