Re: Building 32-bit RPM on 64-bit Linux

2015-01-21 Thread Mike Jones
On 1/20/2015 5:30 AM, Andreas Schneider wrote: > On Monday 12 January 2015 17:12:18 Mike Jones wrote: >> Hoping for some wisdom/advice. I am not very familiar with the mechanics >> of CMake yet. (I'm a GNU make guy.) >> Trying to build a 32-bit (i686) RPM of libssh on Re

Building 32-bit RPM on 64-bit Linux

2015-01-12 Thread Mike Jones
Hoping for some wisdom/advice. I am not very familiar with the mechanics of CMake yet. (I'm a GNU make guy.) Trying to build a 32-bit (i686) RPM of libssh on RedHat Enterprise Linux 7 (which is x86_64). Borrowing the RHEL6 SRPM from here: http://download.opensuse.org/repositories/network:/synchron

Re: help with simple ssh shell server

2014-08-07 Thread Mike Jones
); } else // clear any visible character // there is a prompt shown, so we don't allow backing up any farther than that ssh_channel_write(channel, " \b", 2); // fix the client side } Mike Jones On 8/7/2014 1:41 PM, Ba

SSH_BIND_OPTIONS_BINDPORT type confusion

2014-05-01 Thread Mike Jones
s to just introduce a temporary variable of type int, which pleases both architectures. I am just curious to understand why this would not be passed as an 'unsigned short' to avoid confusion and the potentially problematic cast/masking. Thanks! Mike Jones

Re: Login to device shell

2014-04-19 Thread Mike Jones
On 4/18/2014 8:50 PM, Mal wrote: > > Hello > > > > I am wondering if anyone has written a trivial C program to login to > an ssh service and execute a simple console command, collect the > output and display from the program prompt. > > > > I have tried to follow the tutorial example with no su

Re: libssh multi-threading issue

2014-04-16 Thread Mike Jones
On 4/16/2014 1:51 AM, ZhangAnne wrote: > Hi, > > I am implementing a shared library, and met the threading issue when > the program calls my library and executes multiple threads in > parallel. Since my lib is being called by other program, I cannot > initialize the threading outside of any threadi

Re: server-side public key authentication

2014-01-20 Thread Mike Jones
On 1/19/2014 1:00 PM, Andreas Schneider wrote: > On Saturday 18 January 2014 08:55:28 Mike Jones wrote: >> I have managed to get an SSH server working within my application thanks >> to this library (version 0.6.0) and the excellent example programs. >> It uses public key auth

server-side public key authentication

2014-01-18 Thread Mike Jones
chanism I am missing that would cause the client side to ask for the passphrase? Thanks for any help and thank you for the awesome library! Mike Jones