k on libssh.org? Unfortunately I
> can't find an easy way to set up a redirect from the old link :/
Done. Now packing for FOSDEM :-)
> On Tue, Jan 16, 2024, 8:44 PM James Wrigley wrote:
> > Sounds good, thanks
> >
> > On Tue, Jan 16, 2024, 9:22 AM Andreas Schneider
> >
>
roup1-sha1 Device_ip -p Port
> > >
> > > Not sure what's stopping us through libssh.
> > >
> > > Thanks
> > > Bhautik
> > >
> > > On Wed, Jan 31, 2024, 5:38 PM Andreas Schneider
> >
> > wrote:
>
ice supports this kex?
Did you enable verbose logging and check what the server returns?
Best regards
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
do this though with the SFTP API.
>
> Thank you. However, if I understand correctly, this requires that ftpd
> be installed and running on the remote machine.
No, you need an SSH subsystem called sftp-server. For example OpenSSH provides
one or you can implement one with libssh :-)
Chee
ackage isn't officially released yet but you can see the WIP
> documentation here: https://jameswrigley.github.io/LibSSH.jl)
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
On Tuesday, 6 June 2023 16:34:43 CEST Eshan Kelkar wrote:
> Suggestions for the implementation of progress_callback() and the
> problems associated with it as well as general suggestions regarding
> the design of the discussed api are welcome.
One of users of the sftp API is KDE. Several years
On Tuesday, 11 April 2023 14:33:01 CEST Andreas Schneider wrote:
> Hi,
Hello,
> the libssh project would like to become a member of the Software Freedom
> Conservancy (SFC) [1]. Software Freedom Conservancy is a nonprofit
> organization centered around ethical technology. It w
nt concurrent_requests,
>size_t chunk_size);
Thanks for the write up.
If you use these function which look simple to use you want to also add a
progress callback passed down and a userdata pointer.
This way a UI (also cmdline) could display some progress.
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
and raise any concerns you have.
Best regards
Andreas
[1] https://sfconservancy.org/
[2] https://www.libssh.org/development/security-bug-bounty/
[3] https://www.openhub.net/p/libssh/contributors?sort=commits
--
Andreas Schneider a...@cryptomilk.org
GPG-ID
/27367
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
On Monday, 20 March 2023 19:49:03 CET Kerrison, Adam wrote:
> The vcpkg is 0.9.6 as far as I could tell, which doesn't support/work with
> openssl 3.x ... unless I've missed something
I will update it.
--
Andreas Schneider a...@cryptomilk.org
> > I don’t know enough about cmake to debug this – can anyone give me some
> > pointers?
> >
> > I realize this is an old compiler but it was already installed so I was
> > trying to use it for some tests … I can upgrade but
> >> sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group18-sha512,diffie-hel
> >> lman-group16-sha512,diffie-hellman-group-exchange-sha256,diffie-hellman-g
> >> roup14-sha256] [2023/01/09 16:37:45.627339, 3] ssh_connect: current
> >> state : 9
> >>
> >>
> >> It is still working fine using libssh 0.9.4 dll
> >>
> >> It could be something I missed while compiling the new library. I had
> >> created the solution using cmake, and compiled the ssh.dll using Visual
> >> Studio 2017. Any leads to solve the problem is appreciated.
> >>
> >>
> >> Regards,
> >>
> >> Jijo
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
arts.
Patches are always welcome :-)
Best regards,
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
On Monday, July 11, 2022 11:19:55 AM CEST Andreas Schneider wrote:
> Hi,
>
> I'm pleased to announce libssh 0.10.0rc1. This is the first release
> candidate and we need help testing it.
>
> The biggest change is the support of OpenSSL 3 and mbedTLS 3. We also have
> some n
pubkey, privatekey API
* Avoided some needless large stack buffers to minimize memory footprint
* Removed support for OpenSSL < 1.0.1
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
ome protocol to find
out if your command was successful or not like:
./mytool && echo SSH_OK || echo SSH_KO
I hope this helps :-)
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
mnQ9ZW//bgMP1srqw0JxRWY49G2OfQDlW5qsEl7yxc
> +J18quQVm/u3NgcC7hpinwGGKBOrQByvYzKjvSGEuj6w==
>
>
>
>
> Is this enough for you to check?
https://github.com/CESNET/netopeer2/blob/master/scripts/merge_hostkey.sh#L29
removes the header and footer and we rely on that!
https://gitlab.com/libssh/libssh-mirror/-/blob/master/src/pki.c#L76=
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
witching to use openSSL does not show this error.
Which version of libssh do you use?
What key type do you use?
Can you generate a new key pair which reproduces the error and share it with
us?
Best regards
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
test for \n it works as expected:
>
> $ echo -e "Test \n for newline"
> Test
> for newline
>
>
> Are there any settings in libssh to make my client interpret \n as new
> line like in my ssh session?
The data you receive is your re
number, which other cygwin xterm windows have
> already set, then the X11 windows is opened on my local computer by
> executing the command ("xterm").
> Problem with this solution:
> How to know the display number to use for this purpose?
>
> Thanks,
> Klaus
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
eded first to check if we
talk to a SSH client. But you should setup callbacks before you call
ssh_handle_key_exchange()
Patches to improve the documentation are welcome! :-)
Did you look at examples/ssh_server.c? This is a simple ssh server
implementation. We recommend to implement a pre-forking
On Thursday, 30 December 2021 17:45:51 CET Mason Hieb wrote:
> Hi, I'm a complete newbie to this library, and was *really* struggling to
> get the tutorial to work for me because I kept getting the "Library Not
> Initialized" error but couldn't understand why.
>
> I discovered - after much
On Thursday, October 28, 2021 4:24:14 PM CEST Marco wrote:
> SOLVED THANKS TO THAT
>
> https://archive.libssh.org/libssh/2021-05/002.html
Could you improve the documentation in this area and provide patches?
Andreas
--
Andreas Schneider a...@cryptomilk.o
ou decided what kind of channel you want you use ssh_channel_write()
https://api.libssh.org/stable/
group__libssh__channel.html#ga5d658df773ba854b35ff9f905341e2fb
See also the examples/ directory in the source code.
Cheers
Andreas
--
Andreas Schneider a...@crypto
On Tuesday, August 3, 2021 9:16:15 AM CEST Jeremy Fix wrote:
> On 03/08/2021 08:52, Andreas Schneider wrote:
> > On Monday, August 2, 2021 11:28:10 PM CEST Jeremy Fix wrote:
> >> Hello,
> >
> > Hi,
> >
> >> I would like to use libssh for connecting t
d in order to connect
to server (const char *).
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
void *packet,
> - unsigned int len);
> + uint32_t len);
> int ssh_packet_hmac_verify(ssh_session session, const void *data, size_t
> len, unsigned char *mac, enum ssh_hmac_e type); int
> ssh_
On Thursday, 18 March 2021 15:49:48 CEST Andreas Schneider wrote:
> Hi,
>
> we have a huge spam problem on bugs.libssh.org so we decided to close new
> registrations. The plan is to move the bug tracker and use
>
> https://gitlab.com/libssh/libssh-mirror/-/issues
>
> W
.
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
On Friday, 19 February 2021 19:35:16 CET Richard W.M. Jones wrote:
> Hmm, I don't *think* so, although I'm not certain I would know
> how to tell this.
Hi Rich,
I don't think that you run in FIPS mode. On Fedora we have:
fips-mode-setup --check
Andreas
On Friday, 29 January 2021 22:42:27 CET Aris Adamantiadis wrote:
> Hi everyone.
Hi Aris,
> Libgcrypt has been an itch that scratched both Andreas and me for a
> while. Till now, the biggest problem was the workload associated in
> maintaining the gcrypt backend (mostly with external
y much for working on them!
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
On Tuesday, 17 November 2020 01:39:00 CET Ogogon !!! wrote:
> Colleagues, please tell me the answer to my question.
>
> *When I connecting to a test sshd-like programm, written using libssh,
> the client side gets the message "PTY allocation request failed on
> channel 0". Why is this happening?
On Sunday, 22 November 2020 03:41:11 CET Ogogon !!! wrote:
> Colleagues, please tell me where you can find a simple example of a
> server, which use a posix threads.
For security reasons we recommend to implement a pre-forked server!
Andreas
On Monday, 16 November 2020 13:53:15 CET Bruno Buzzi Brassesco wrote:
> Hi,
> API site is down right now:
> https://api.libssh.org/
there was a lot more down. Issues with dracut and initramfs network. Fixed
now.
Andreas
--
Andreas Schneider a...@cryptomilk.o
https://github.com/Microsoft/vcpkg/
Cheers
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
the dynamic linker config if you require special treatment.
See
man ld.so
or
https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/RPATH-handling
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
f7dd5ed9000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x7f7dd5ebf000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x7f7dd5e91000)
libpcre.so.1 => /usr/lib64/libpcre.so.1 (0x7f7dd5e02000)
I have no idea what you're doing.
--
Andrea
I can see the support in 0.9.4 with "WITH_GEX" enabled .
> We cannot upgrade to 0.9.4 due to dependencies of libgpg-error 1.3.8
> designed for 64bit architecture .
libssh doesn't require libgpgp-error! Which crypto library are you using?
--
Andreas Schneider
PREFIX.html
cmake -DCMAKE_INSTALL_PREFIX=/mylibs/third-party/libssh ..
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
the current API is not nice at all. I'm open for suggestions for the
current API.
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
re there any suggestions?
If you want it, you need to implement it.
The best would be to completely rewrite the read and write async API and
create sftp_put() and sftp_get() wrappers.
Patches are welcome!
Andreas
--
Andreas Schneider a...@cryptomil
ult in a near-future release.
https://www.openssh.com/txt/release-8.2
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
On Tuesday, 5 May 2020 16:15:35 CEST Andreas Schneider wrote:
> On Wednesday, 15 January 2020 13:01:08 CEST g4-l...@tonarchiv.ch wrote:
> > Hi there, here's a patch for fixing a printf format string issue when
> > compiling with MinGW (and possibly other "architecture
.libssh.org/T228
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
me and on timeout, it returns
> some SSH_ERROR and proceeds further.
SCP is one of the worst protocols on planet earth and should be removed as
soon as possible. Please use SFTP instead!
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
h version 1.0.2s-2 in vcpkg. Is this a problem?
>
> Hello,
>
> I've just checked vcpkg and libssh-0.9.3 and openssl-1.1.1d are available
> there. Have you updated the repositories?
I think libssh is currently built with mbedtls because openssl-1.1 wasn't
available for a ver
ngle place.
>
> The same happened also for 0.8.4. It is already tracked in the
> following bug:
>
> https://bugs.libssh.org/T226
We should have a libssh_version.h.cmake which fills just the version data and
gets included in libssh.h
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
On Friday, 10 April 2020 09:57:37 CEST 刘元哲 wrote:
> Hello, Chris
>
>
> I'm also learning libssh this few days, and found your problem when I wake
> up at afternoon :-).
First of all, I think libssh tcp/ip forwarding can
> solve your problem, u need
>
On Friday, 10 April 2020 02:07:59 CEST Christopher Morley wrote:
> Hi all -
> I hope this is an appropriate question for this forum.
>
> I have an application that consists of a user interface component (written
> in java) and a simulation engine (written in c++). These run in separate
>
very welcome.
See the server testing code Anderson implemented for a start.
Best regards,
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
cmake starting at line 247. Is there a way to specify which
> libsocket to use in a cross-compilation scenario? Using qcc as the
> compiler, Ubuntu 18.04 as the host and QNX 7 as the target.
How does your cmake toolchain file look like?
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
libssh-mirror/
This way we get some CI runs.
The next question would be if you could write a test for it :-)
Best regards,
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
he RFC.
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
dtls crypto backends.
>
> Fair enough, another argument for not accepting libssh that was compiled
> with gcrypt. So is there a way of detecting this? Any macro defined in a
> header file or somewhere?
I don't think so.
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
row_window: growing window (channel 342:0) to 128 bytes
> [2020/03/06 14:51:53.600633, 1] ssh_channel_read_timeout: Remote channel
> is closed.
The remote has closed the channel. You can't read anymore.
See
https://api.libssh.org/stable/
group__libssh__channel.html#gab2720b44cb7f1d
> logging/blacklisting/etc?
getpeername() ?
Cheers!
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
On Wednesday, 25 March 2020 21:07:33 CET Kennedy, Marcus A. wrote:
> Is libSSH thread safe?
Yes, on a session level. One thread, one session.
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
gt; > I am using the latest libssh with openssl 1.1.1e in windows 10.
> >
> > Thanks.
> > San.
We need an async sftp API which we don't have, patches are welcome.
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
512,ssh-ed25519,aes256-...@openssh.com,aes256-
g...@openssh.com,hmac-sha2-256-...@openssh.com,hma
c-sha2-256-...@openssh.com,none,none,,
As we try all combination, I wonder what is the SSH counter part you're trying
to connect to which is failing ...
Andreas
--
An
On Thursday, 30 January 2020 18:43:40 CET Zeev ? wrote:
> Hi,
> How can I provide the "diffie-hellman-group18-sha512,
> diffie-hellman-group16-sha512" to the SSH Server ? Thanks
This is done by default unless you disabled it.
--
Andreas Schneider a...@cr
, as we have:
diffie-hellman-group18-sha512, diffie-hellman-group16-sha512
can't you use those? What is the reason for diffie-hellman-group14-sha256?
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
On Tuesday, 17 December 2019 06:48:01 CET Sebastian Kinne wrote:
> Hi,
>
> > a) Could you please split the patch and put the pki_sha256() function into
> > a separate commit? I would also use uint8_t instead of unsigend char in
> > pki_sha256().
>
> Done, please see attached.
>
> > b) Could you
On Wednesday, 25 December 2019 18:07:41 CET William Orr wrote:
> This fixes support on Solaris and building with Sun Studio 12.6.
William, thank you very much for your contribution.
I just going trought my backlock. Could you please split the cmake changes
from the rest and rebase on master.
On Thursday, 23 January 2020 12:18:17 CET Michal Vaško wrote:
> Hi Anderson,
Hi Michal,
> thanks a lot for the information, I will try your suggestion. However, in
> case I cannot sue the legacy key format for whatever reason, is there a
> simple way of detecting what crypto library libssh was
On Wednesday, 22 January 2020 17:40:04 CET Tilo Eckert wrote:
> Am 22.01.2020 um 13:56 schrieb g4-l...@tonarchiv.ch:
> > For Windows I can find documentation of "z" as supported spezifier:
> > https://docs.microsoft.com/en-us/cpp/c-runtime-library/format-specificatio
> >
On Thursday, 16 January 2020 12:55:07 CET g4-l...@tonarchiv.ch wrote:
> >> According to that you need to compile with:
> >>
> >> cmake -DCMAKE_C_FLAGS="-D__USE_MINGW_ANSI_STDIO=1" ..
> >
> > Alternative seems to be:
> >
> > -Dsnprintf=__mingw_snprintf -Dvsnprintf=__mingw_vsnprintf ...
>
> Yes
On Thursday, 16 January 2020 20:38:02 CET g4-l...@tonarchiv.ch wrote:
> On 16.01.20 16:23, Andreas Schneider wrote:
> > On Thursday, 16 January 2020 14:40:50 CET g4-l...@tonarchiv.ch wrote:
> >> Hi there,
> >>
> >> cmake detects pthreads and
gt;
> CMAKE_SHARED_LINKER_FLAGS etc. did not do the trick because it puts it
> in the wrong place (before CMakeFiles/ssh.dir/objects.a).
Can you try:
https://git.libssh.org/users/asn/libssh.git/commit/?h=master-threads
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
gt;
> Is this something that can be automatically done by some cmake check if
> the mingw cross-compilation is detected?
I think till needs to confirm it works and then I can you can do:
if (MINGW AND WIN32)
add_definitions(__USE_MINGW_ANSI_STDIO=1)
endif()
...
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
On Thursday, 16 January 2020 11:51:48 CET Andreas Schneider wrote:
> On Wednesday, 15 January 2020 17:46:30 CET g4-l...@tonarchiv.ch wrote:
> > On 15.01.20 17:32, Andreas Schneider wrote:
> > > On Wednesday, 15 January 2020 14:35:39 CET Jakub Jelen wrote:
> > >> On
On Wednesday, 15 January 2020 17:46:30 CET g4-l...@tonarchiv.ch wrote:
> On 15.01.20 17:32, Andreas Schneider wrote:
> > On Wednesday, 15 January 2020 14:35:39 CET Jakub Jelen wrote:
> >> On Wed, 2020-01-15 at 13:01 +0100, g4-l...@tonarchiv.ch wrote:
> >>> Hi th
old now. We had PRIdS because Visual Studio didn't
have %zu support for a long time. So we should replace PRIdS with %zu ;-)
Till, I'm sorry but you hit a compiler bug, open a bug against MinGW.
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
> generator,
> modulus);
>
> and type, tests, tries and size are of size_t. Or we have to change them
> to ssize_t, but then also the `best_size` argument of
> ssh_retrieve_dhgroup_file() had to be signed.
>
> What you think?
For size_t we should use %zu and for ssize_t %zd which is ANSI C99.
See https://en.cppreference.com/w/c/io/fprintf
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
t verbosity to > 2.
>
> I could track this down to vsnprintf() which is called through line 865
> in channels.c:
>
> SSH_LOG(SSH_LOG_PACKET,
> "placing %zu bytes into channel buffer (%s)",
> len,
> s_stderr ? "stderr" : "
On Friday, 20 December 2019 18:01:13 CET Torsten Kuehnel wrote:
> On Fri, 20 Dec 2019 09:07:45 +0100
> Thanks for the answer, this cleares things up for me.
>
> Beside the api not beeing stable yet, are the ssh_poll_* functions itself
> considered tested and stable to be useful ? I am
https://gitlab.com/libssh/libssh-mirror/commit/
04b284dae02858b151ab75704eb15facf3781551
Untested code is broken code ;-)
Thanks.
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
/
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
ou fork from
https://gitlab.com/libssh/libssh-mirror and push a branch to your fork, you
will get CI for libssh.
Thanks.
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
and copy the file, then the
> "pass_instruction(channel, MV_FILE, "example2.txt") ;" works according to
> the program, but the file is not copied. I don't understand why...
This only write to the channel, you also need to read and check that the
command has been successfully executed before sending the next.
andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
Hello,
the libssh team released libssh 0.9.2
https://www.libssh.org/2019/11/07/libssh-0-9-2/
Thanks to all people who contribute to libssh!
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
ter you sent it, read from the channel and create a command protocol.
Let me know if you get it working. It would be great to get
http://api.libssh.org/stable/libssh_tutor_shell.html
updated with an example for this.
Andreas
--
Andreas Schneider
thing wrong in my code? It should be a vanilla libssh initialization and
> a write. Could it be a unique issue in my environment?
https://git.libssh.org/projects/libssh.git/tree/examples/exec.c
works just fine for me.
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
ed on the server. So I know the connection is ok
> and probably I am calling the API in a wrong way.
Why don't you use ssh_channel_exec()? You don't seem to need a pty.
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
Hello list,
libssh-0.9.1 is out to address some bugfixes.
Learn more about it at:
https://www.libssh.org/2019/10/25/libssh-0-9-1/
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
so
> I'll apply the workaround to our project's libssh and then, as time
> permits, I can work on trying to fix this properly.
>
> Thanks for your input!
>
> Chris
>
> On 7/19/19 8:42 AM, Andreas Schneider wrote:
> > On Friday, July 19, 2019 1:53:30 PM CEST Chris Towns
On Sunday, 21 July 2019 11:32:04 CEST Дилян Палаузов wrote:
> Hello,
Hi,
> with ccmake 3.12.2, cmake 3.13.1 and libssh 0.9.0, when I do “ccmake .”, it
> prints the error:
>
> CMake Error at build/CMakeDoxygenDefaults.cmake:471 (set):
>Syntax error in cmake code at
>
>
that would be great, else file a bug report.
Thanks,
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
IZE should increase performance some
> since everything can be read at once and not have to loop through to try
> to see if more data is available.
The channel max packet size is 32768 so I think it shouldn't be bigger than
that. However doesn't that just hide the problem? I think we
ifferent sessions for shell and for sftp tasks?
You don't have to.
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
Hey,
I've added it to the website? :-)
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
long
> time. After looking through the code I discovered, that all channel
> functions use SSH_TIMEOUT_DEFAULT, thus ignoring user specified timeout.
> Is this intended? If yes, how can I prevent my program from hanging in such
> situations?
Please use libssh 0.9
s and callbacks between the
> library and the application, allowing the application to manage the
> threading and networking.
You can manage the threading/forking and accepting new connections but not the
networking.
https://git.libssh.org/projects/libssh.git/tree/examples/ssh_server_f
On Monday, 1 July 2019 17:19:55 CEST Stefan Strogin wrote:
> LibreSSL does not support FIPS mode, check for FIPS_mode() in
> ConfigureChecks.cmake.
Sorry, this doesn't work as there is no definition in config.h.cmake for it.
Also I think it should be a function so that config.h is included!
ing in FIPS mode */
> +#ifdef HAVE_FIPS_MODE
> #define ssh_fips_mode() (FIPS_mode() != 0)
> +#else
> +#define ssh_fips_mode() false
> +#endif
>
> #endif /* HAVE_LIBCRYPTO */
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
On Friday, June 28, 2019 9:09:57 AM CEST Alberto Garcia wrote:
> I think that's not the link you were trying to paste.
>
> Can you provide the correct one please?
Ups, sorry :-)
https://git.libssh.org/projects/libssh.git/tree/include/libssh/sftp.h#n836
--
Andreas
I'm proud to announce the release of libssh-0.9.0!
For details visit: https://www.libssh.org/2019/06/28/libssh-0-9-0/
Thanks to all contributors for making this possible!
Best regards,
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID
uld rewrite it to use callbacks like the rest of the server code,
that would be much appreciated :-)
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
ng libssh as a client but nothing
> regarding a server.
Don't use scp, use sftp. scp is just horrible.
Andreas
--
Andreas Schneider a...@cryptomilk.org
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
1 - 100 of 682 matches
Mail list logo