Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/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

    Hi,

    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