Re: Copying empty files with scp

2018-02-02 Thread Andreas Schneider
On Friday, 2 February 2018 16:13:33 CET Jeroen Ooms wrote: > It is unclear from the documentation how to proceed with > SSH_SCP_REQUEST_NEWFILE when ssh_scp_request_get_size() returns 0, i.e > downloading an empty file. > > From trial and error I found that the client has to call >

scp tutorial improvements

2018-02-02 Thread Jeroen Ooms
The scp tutorial at http://api.libssh.org/master/libssh_tutor_scp.html mentions SSH_SCP_REQUEST_NEWDIRECTORY and SSH_SCP_REQUEST_ENDDIRECTORY. These should be SSH_SCP_REQUEST_NEWDIR and SSH_SCP_REQUEST_ENDDIR instead. Also the tutorial is a bit sparse, it would be helpful to link to

RE: Using libssh to decrypt packets offline

2018-02-02 Thread dibyendu.chakraborty
Hi Andreas, Thanks for your suggestion. While it would definitely serve a part of my purpose, I was also working on enhancing Wireshark so that we could decrypt SSH packets when a decryption key, decrypt IV, cipher name etc is fed to Wireshark. I understand how different cryptographic