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 with SSH2(solved)

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 2.5k Views
  • 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 6 Dec 2014, 04:33 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 7 Dec 2014, 12:28 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
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 7 Dec 2014, 23:11 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 8 Dec 2014, 02:26 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

          1/4

          6 Dec 2014, 04:33

          • Login

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