'what is the major difference libssh vs libssh2? [closed]
I googled "libbssh vs libssh2" , couldn't find good explanation about the difference between of them.
What is the major difference ?
The main functionality that i need is copying files , which of the lib is recommended ?
Solution 1:[1]
The differences are in the link answered by ericcuritin.
As you asked:
The main functionality that i need is copying files, which of the lib is recommended?
I think SCP or SFTP might solve your problem, and yes, the two subsystems are both supported by libssh and libssh2.
However one of the main differences is that you can't implement server side applications with libssh2, so pick up libssh instead.
Solution 2:[2]
The difference mentioned in https://www.libssh2.org/libssh2-vs-libssh.html is nowadays almost outdated. There i believe was a time when libssh2 was more preferred but today libssh support new age cyphers like AES-GCM.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | IronBlood |
| Solution 2 | Minal Patil |
