Important: Please read the Qt Code of Conduct -

connect to linux server (terminal-port22)

  • Hi
    I want connect to linux server with QT
    for exampel:
    ssh root@ip
    then run commands over the network.
    for exampel : df -h , cd , uname -a and etc

    Does anyone have sample from ssh for QT?

    pleas help me

  • Lifetime Qt Champion


    The QSsh project might be of interest.

  • To update from local or remote server dir bidirectional you can use un console:

    rsync -avz -e ssh remoteuser@remotehost:/remote/dir /this/dir/ 

    to install on mac
    rsync brew install
    at end you can make a cronjob all day to rsync at 24:00
    very easy tool... console is fast...
    all operation local or remote is avaiable in terminal

Log in to reply