Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt with SSH2(solved)
Qt 6.11 is out! See what's new in the release blog

Qt with SSH2(solved)

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 2.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    houmingc
    wrote on last edited by
    #1

    like to enquire if anyone did SFTP with Qt before?
    I thought there are two ways to implement SFTP with Qt. Like to find out general opinion.
    Is there any qt SSH class

    1. http://www.libssh2.org/
      downloaded libssh2, configure and make
    2. http://qt-apps.org/content/show.php/qPutty?content=118372
      using Qt ssh2 plugin qputty. can create a process thread and pass command into terminal
    1 Reply Last reply
    0
    • H Offline
      H Offline
      houmingc
      wrote on last edited by
      #2

      i included libssh.h as my header file
      http://libssh.sourcearchive.com/documentation/0.4.5-2/libssh_8h-source.html

      i get multiple compiler error in this file.
      enum {
      /** No logging at all
      /
      00236 SSH_LOG_NOLOG=0,
      /
      * Only rare and noteworthy events
      /
      00239 SSH_LOG_RARE,
      /
      * High level protocol information
      /
      00242 SSH_LOG_PROTOCOL,
      /
      * Lower level protocol infomations, packet level
      /
      00245 SSH_LOG_PACKET,
      /
      * Every function path
      */
      00248 SSH_LOG_FUNCTIONS
      };

      anyone can help

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        Qt already support SSL, have a look at the QSsl* classes.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • H Offline
          H Offline
          houmingc
          wrote on last edited by
          #4

          I am looking for SSH library support, not SSL library support.
          From the link below, i believe SSH and SSL is very different.
          http://security.stackexchange.com/questions/1599/what-is-the-difference-between-ssl-vs-ssh-which-is-more-secure

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved