How to easily establish an SSH connection in Qt?

后端 未结 4 1555
伪装坚强ぢ
伪装坚强ぢ 2020-12-14 22:21

I\'m looking for an easy way to establish an ssh connection in Qt similar to how I can operate in Java.

For instance, to log in to an ssh connection via java, I can

4条回答
  •  被撕碎了的回忆
    2020-12-14 23:13

    I'm using libssh2 http://www.libssh2.org/ with qt. I'm using it in the easiest way - native sockets. I had no time to convert it to use qt sockets. However it works great. The project description is: http://www.chaosstuff.com/2013/09/gnome-mplayer-remote-with-qt-and-libssh2.html and the source code is in: https://bitbucket.org/nchokoev/qtsshremote

提交回复
热议问题