SSH connection in C++ under Linux

2019-04-13 16:33发布

问题:

I am coding a simple networking tool in C++ that should be working under unix/linux operating systems. I need to make SSH connection in C++, i.e. C++ SSH client ? And don't forget - Linux, so don't point me to msdn.

Thanks in advance.

回答1:

http://www.libssh2.org/



回答2:

Alternatives to libssh2 are:

Commercial and free licensing:

http://www.netsieben.com/products/ssh/#licensing

Only commercial

http://www.chilkatsoft.com/ssh-sftp-c++.asp



回答3:

http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

You can download the source for putty here. Should give you a good start.



标签: c++ ssh