jnthn / p6-ssh-libssh

Asynchronous binding for libssh; client-only and limited functionality so far.
8 stars 8 forks source link

Fix error-check sub not handling SSH_ERROR + add method for interactive shell #11

Closed Demayl closed 5 years ago

Demayl commented 6 years ago

The problem with error-check is weird. For example ssh_channel_open_session() returns int32 but in method dispatch comes as a Int and wrong value ( instead of -1 ) and so errors are ignored.