QSsh provides SSH and SFTP support for Qt applications. The aim of this project is to provide a easy way to use these protocols in any Qt application. This project is based on Qt Creator's libQtcSsh.so. All the credits to Qt Creator's team!
Prerequisites: 编译环境
Qt 5.0 (May work with older versions) Qt5.0向上版本,(qt4.8x没有测试,可能支持。)
On Windows: MinGW 4.7 or later, Visual Studio 2010 or later
On Mac: XCode 2.5 or later, compiling on 10.4 requires setting the environment variable QTC_TIGER_COMPAT before running qmake
========== Compiling QSsh 编译QSsh
mkdir $BUILD_DIRECTORY
cd $BUILD_DIRECTORY
qmake $SOURCE_DIRECTORY/qssh.pro
make (or mingw32-make or nmake depending on your platform)
Or
You can open "qssh.pro" used "Qt Creator".
你也可以直接用Qt Creator打开qssh.pro。
- Directory examples/SecureUploader/ contains an example on how to upload a file using SFTP
-Directory examples/qtsshshell/ 一个sshShell的例子
-Directory examples/BotanTest/ 一个botan类库AES256加密的封装例子。