Questions tagged [libssh]

libssh is a mulitplatform C library implementing the SSHv2 and SSHv1 protocol on client and server side.

libssh is a C library that enables you to write a program that uses the SSH protocol. With it, you can remotely execute programs, transfer files, or use a secure and transparent tunnel for your remote programs. The SSH protocol is encrypted, ensures data integrity, and provides strong means of authenticating both the server and the client. The library hides a lot of technical details from the SSH protocol, but this does not mean that you should not try to know about and understand these details.

libssh is a Free Software / Open Source project. The libssh library is distributed under LGPL license. The libssh project has nothing to do with "libssh2", which is a completely different and independent project.

libssh can run on top of either libgcrypt or libcrypto, two general-purpose cryptographic libraries.

218 questions
0
votes
1 answer

How to get user feedback from QThread::run(), e.g. QMessageBox?

I know that it's bad to run any kind of GUI widget from within a separate thread. For just messages, this can be overcome with signals to the main thread. But what if the thread needs a user input, how can the answer be signaled back to the thread…
Pat
  • 1,726
  • 11
  • 18
-1
votes
2 answers

Windows Winsock redefinition errors regarding asio/SteamAPI/libssh/SDL_net

Any time I try to use more than 1 networking library in the same (CMake) project, there are many Winsock redefinition errors. These libraries are asio, SteamAPI, libssh, and SDL_net to name a few. I turned to Google for answers, and there are many…
crazicrafter1
  • 309
  • 5
  • 18
-1
votes
1 answer

C++: Unwanted Character in Output

I'm using libssh and I want to get some output from an executed command. It works for the most part, but I'm getting unwanted characters in the output. What am I doing wrong? Example output for the command "test -f "/path/to/file" && echo found ||…
Lord of Grok
  • 323
  • 3
  • 12
-1
votes
1 answer

How to link libssh library in Makefile

I get following error, when i tried to compile my test program g++ main.cpp -o main /tmp/ccICBwKO.o: In function `main': main.cpp:(.text+0xa): undefined reference to `ssh_new' main.cpp:(.text+0x2d): undefined reference to `ssh_free' collect2:…
Raiper34
  • 537
  • 2
  • 6
  • 20
-1
votes
1 answer

Regarding moving my application from libssh to libssh2

I have few doubts/issues in moving my applications from 'libssh-0.4' to 'libssh2-1.4.3'. I have searched and read documents related to libssh2, but was unable to find one which throws light on moving my applications. Basically i need libssh…
Kumar
  • 15
  • 3
-1
votes
2 answers

Can the SSH protocol be used as a secure generic data port?

I'm writing a client/server program which needs to create a secure network pipe between two machines, identifying them both using certificates. The SSH protocol seems like a perfect match for this - its built-in security, support for authenticating…
configurator
  • 40,828
  • 14
  • 81
  • 115
-1
votes
1 answer

../src/libssh.so.4.3.0: undefined reference to `dlopen'

Installing libssh for ssh call on C. Ubuntu 13.04 apt-get install gcc --fine apt-get install cmake -fine wget openssl-1.0.1e.tar.gz --fine tar -xzvf openssl-1.0.1e.tar.gz --fine ./config --prefix=/usr/local --openssldir=/usr/local/openssl…
-2
votes
1 answer

scp .tar file from remote machine using C program & libssh

I have written a code which read file from remote device using libssh scp APIs. I have a specific requirement wherein I want to scp a .tar file from a remote device. I am able to read .tar content into a buffer, but I am not sure how to create .tar…
1 2 3
14
15