On Wednesday 15 July 2015 19:09:58 Raghaw Shukla wrote:
And one more question how to connect to a forwarded port.
The same as you would connect to a normal port?!?
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
On Wednesday 15 July 2015 18:54:55 Raghaw Shukla wrote:
Hi Andreas,
How to read back what has been executed on shell over REmote.?
Take a look at the exec example included in the sources ...
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.org
like the API is not complete.
We have a ssh_bind_get_poll() function isn't called by anything so the
callback can't be triggered at all. Go with this example ...
https://git.libssh.org/projects/libssh.git/tree/examples/ssh_server_fork.c
--
Andreas Schneider GPG-ID: CC014E3D
session
d) connect to the forwared port
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
On Saturday 11 July 2015 16:00:34 Raghaw Shukla wrote:
Hi,
Is it possible to do a SFTP/SCP over a forwarded port.If it is possible how
to do that.?
Yes, if you create a new session.
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.org
with it.
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
/files
So it works for me and I'm not a Windows developer ...
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
:31
at Module.runMain (module.js:492:10)
Running the same command using Putty works and my node script is executed...
Can you please help me with this?
For each ssh_channel_request_exec() you need to create a new channel ...
-- andreas
--
Andreas Schneider
any idea why this is happeening??
Compiler too old? It works just fine for me ...
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
/commit/?h=v0-7id=b45933d30d9a1d1ce94757a4dc76e0d7a5f31c44
Cheers,
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
,
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
On Monday 29 June 2015 08:35:37 you wrote:
try libssh+unsubscr...@libssh.org
;)
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
command.
why don't you use ExternalProject_Add:
http://www.cmake.org/cmake/help/v3.3/module/ExternalProject.html
??
Best regards,
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
;
-}
-
it = ssh_list_get_iterator(src-opts.identity);
while (it) {
char *id;
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
On Thursday 04 June 2015 17:40:12 Angel Kolev wrote:
Thank you very much for your contribution. Could you please create several
commits.
If you have an AND in the commit message it should be more than one commit ...
Thanks,
-- andreas
--
Andreas Schneider GPG-ID
On Wednesday 20 May 2015 22:14:54 Charles@Hinet wrote:
Hi Aris,
I think openssl header was OK. It seems libssh 0.7.0 have change something
in CMake rule..
Update your cmake installation. I think we need to require 2.8.6 at least ...
--
Andreas Schneider GPG-ID: CC014E3D
On Tuesday 19 May 2015 18:14:48 Charles@Hinet wrote:
Hi,
What version are you using?
I got the same error on 0.7.0, but 0.6.5 was OK on Windows 7/2012R2.
Also which OpenSSL version are you using?
It looks like we don't compile with DES support but advertise it ...
Can you look
On Monday 18 May 2015 16:36:38 汤南 wrote:
Could I use libssh on android devices?
Thanks in advance!
Yes, why not ...
On Monday 18 May 2015 16:34:49 汤南 wrote:
could libssh send a string to a server?
Please be more precise ... Sending data to a server is done using a channel
...
On Monday 18 May 2015 20:05:11 汤南 wrote:
I want to use libssh build a server application.
But I can not find any documentation,I need some help.
Thanks a lot!
Take a look at
https://git.libssh.org/projects/libssh.git/tree/examples/ssh_server_fork.c
...
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
MACs
Help is appreciated :)
[1] https://www.libssh.org/2015/05/11/libssh-0-7-0/
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
ssh_bind_accept(). Common
algorithm is:
Hey,
you should use the ssh event loop and callbacks, see:
https://git.libssh.org/projects/libssh.git/tree/examples/ssh_server_fork.c?h=v0-7
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.org
do not know vxworks ...
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
Building for Visual Studio 9 2008 ?
I guess you already built for VS9 in that directory, so you still have cmake
build files around ...
mkdir obj-vxworks
cd obj-vxworks
cmake -DCMAKE_TOOLCHAIN_FILE=path/to/toolchain.txt path/to/libssh
--
Andreas Schneider GPG-ID: CC014E3D
/CMake_Cross_Compiling#The_toolchain_file
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
) example.
-- andreas
http://man.cx/socketpair
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
a second session and pass the second fd from the socketpair via
ssh_options_set() and then do whatever you have to do ...
It would be great if someone could extend the
Cheers,
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.org
);
Example below
#ifdef _WIN32
closesocket(s);
#else
close(s);
#endif
I've fixed that in master ...
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
server.
https://git.libssh.org/projects/libssh.git/tree/examples/ssh_server_fork.c
You should use ssh_event ...
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
/libssh_tutor_forwarding.html
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
? Also a git format-
patch would be nice.
Thanks,
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
On Thursday 05 February 2015 11:19:21 Caspar Romot wrote:
Hello,
I am trying to implement libssh’s sftp api to copy all sorts of files from
one machine to another via an ssh session. How would i go about it? As far
as i can see looking at the sftp api there is only a way to create text
On Wednesday 04 February 2015 19:47:15 balasubramanian Achuthan wrote:
Hi ,
Hi,
I am writing a ssh client. The client should be able to handle double auth
from SSH server.
First the server sends a Challange , then it asks another password. How do
i detect it and pass the password to SSH
by using a socket_wrapper to hook
socket calls here? Just trying to understand the suggestion: why would we
use that for this test?
We get a consistent test setup on every machine.
Cheers,
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.org
directory. Move the pkd server to that directory and
start it with socket_wrapper. Then implement tests with cmocka ...
Does this make sense?
-- andreas
[1] http://cwrap.org
[2] http://git.libssh.org/users/asn/libssh.git/log/?h=cwrap
--
Andreas Schneider GPG-ID
://git.libssh.org/users/asn/libssh.git/log/?h=cwrap
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
...
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
().
Thanks!
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
On Tuesday 20 January 2015 16:38:28 Yanis Kurganov wrote:
2015-01-20 14:19 GMT+03:00 Andreas Schneider a...@cryptomilk.org:
Server side is ready!
That's great. Thanks for your contribution! I would like to see some
changes
to the code for inclusion. It following our CodingStyle, small
On Tuesday 20 January 2015 14:37:08 Yanis Kurganov wrote:
OK
Pushed to master and v0-6. Thanks!
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
to the respective sftp-ext member on success.
Pushed, thanks for your contribution.
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
and valid sig - key ok - return SUCCESS
Cheers,
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
On Monday 12 January 2015 17:33:00 Robert Xu wrote:
Hi all,
Hi,
Is bug 164/174 getting pushed to master anytime soon? The patch attached in
164 definitely works.
I've pushed it to master and v0-6.
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
On Wednesday 24 December 2014 15:29:53 Виктор Буцких wrote:
Hello
Hi,
I use your perfect library for my project on Windows.
I decide to migrate from libssh 0.4.8 to 0.6.4.
I don't use pre-compiled library (prefer to build myself).
For building libssh I use VisualStudio 2010 Express (static
On Thursday 25 December 2014 13:17:41 you wrote:
Hi, Andreas!
Hey!
I think I finish my work only on January(((
It will be 3rd or 4th week.
I want to test server side very well.
I'm really sorry!
end of January is fine!
Merry xmas!
-- andreas
a release. I really want to include this!
Thanks for your contribution!
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
, and finally port over the older DSA signature fix originally
from https://red.libssh.org/issues/144.
thank you very much for the patches. I've pushed them to master.
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
this algos for server side later.
This looks great. I will try to do a full review this week. We also need
server side and some tests would be great too.
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
to the internet (NAT virtual adapter or
bridged),
Turn on debugging on the server and client side and find out what fails! The
server log normally tells you more in this case!
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
to the tutorial are welcome!!
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
:
ssh_set_log_callback();
and
ssh_set_log_userdata();
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
to fix the documentation are very welcome!
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
somehow differently?
Why do you link against two libraries which provide the same functionality?
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
via fiddling around with ELF
internals.
It would work if you create a map file for symbol versioning and compile
libssh with it. This should resolve the problem.
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
On Sunday 12 October 2014 15:37:46 you wrote:
On Friday 10 October 2014 13:48:11 you wrote:
Hi,
Hi Jon,
I've rebased the pkd_hello test on top of the latest master and thought
I'd
resend out. I'd love to get these tests running somehow on
test.libssh.org, maybe with a valgrind
'.
thank you very much for the patches! I've pushed all to master and the v0-6
repo.
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
by
clang senddata.c -I/opt/local/include
the problem still exists!
how to fix it ?
I would link against libssh ...
clang senddata.c -I/opt/local/include -lssh
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
connect_ssh.c
see examples/CMakeLists.txt ...
If you compile from source, the examples are compiled by default ...
-- andreas
--
Andreas Schneider GPG-ID
On Tuesday 09 September 2014 12:40:42 William Orr wrote:
Hey,
Is there a new URI for the doxygen docs? The links from
https://www.libssh.org/documentation/ all 404.
It works just fine for me ...
http://api.libssh.org/
signature.asc
Description: This is a digitally signed message part.
and provide new packages for windows too ...
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
key from a private key, see ssh_pki_export_privkey_to_pubkey():
http://api.libssh.org/stable/group__libssh__pki.html#ga5777bc537da6a447b2a9aa9eceff9877
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
be sufficient.
Andreas, correct me if I'm wrong.
I think it depends ...
See Q4 at http://answers.google.com/answers/threadview/id/439136.html
It should answer your question :)
Cheers,
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.org
On Monday 30 June 2014 19:40:04 Andreas Schneider wrote:
On Thursday 26 June 2014 17:00:26 Joseph Southwell wrote:
git master branch src/libcrypto.c has
#include sys/time.h
This needs to be changed to
#ifndef WIN32
#include sys/time.h
#endif
In order to compile
On Monday 30 June 2014 19:38:03 Andreas Schneider wrote:
On Thursday 26 June 2014 17:18:50 Joseph Southwell wrote:
I need this feature myself so would like to contribute it.
Sorry for the late response, I was on vacation.
This is really great. We should rewrite the async sftp read too so
'. We have async writev function in
Samba and use this function most of the time.
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
/libssh.git/commit/?id=d9c47a8cfaedd51c24d95afba710e0e7f66b3c46
Cheers,
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
could be integrated to the main line.
I don't think this is a common problem. It is a special case for how you
implemented forking and handling of SSH.
So you should call
fd = ssh_bind_getfd(bind);
shutdown(fd, 2)
ssh_bind_free(bind);
Cheers,
-- andreas
--
Andreas Schneider
is the best way to solve this ?
Either by fixing libssh or by changes on my side ?
We should fix it in libssh and you should stop using rsa1 keys ;)
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
the same way.
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
On Friday 23 May 2014 13:23:50 Jon Simons wrote:
Attached is a leak fix for the 'srv.ecdsa_key' field in ssh_session.
Pushed to the repo. I really need to do a new release.
Thanks,
-Jon
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.org
(session, NULL);
Am 28.04.2014 16:12, schrieb Daniel Kroker:
Hi,
no.
Am 28.04.2014 16:02, schrieb Andreas Schneider:
On Monday 28 April 2014 15:34:56 Daniel Kroker wrote:
Hello,
i have problems to login into debian 7 server. Debian 5 works fine for
me with this code
is this patch? I think master should be set to 0.7.0.
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
base64
encoded key. You * need to free the buffer.
*
* @return SSH_OK on success, SSH_ERROR on error.
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
);
}
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
On Tuesday 22 April 2014 00:58:37 Jon Simons wrote:
On 4/22/14, 12:31 AM, Andreas Schneider wrote:
I'm really interested in adding this. But I would like to integrate it as
an automated test. So it has to wait a bit. I've started with cwrap
integration last week.
http://git.libssh.org
it looks like 0 is ssh_auth_method_unknown.
Did you call ssh_userauth_none() before?
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
those two would be great.
More smaller patches would be nice ...
And you need to add to the commit message(es):
BUG: https://red.libssh.org/issues/91
which you fix :)
Cheers,
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.org
last week.
http://git.libssh.org/users/asn/libssh.git/log/?h=cwrap
I will try to work on it this week.
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
On Wednesday 16 April 2014 17:18:47 Gangadhar Sandrani wrote:
Hi All,
Hi,
I've committed it to the master branch, thanks!
-- asn
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
. I've pushed your work to master.
Now we have to wait for the nightly builds ...
http://test.libssh.org/index.php?project=libssh
Cheers,
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
/view.php?id=12288
There are a lot people with your issue. I'm sure you know how a search engine
works :)
Best regards,
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
-DWITH_PCAP:BOOL=OFF
pcap is a network tracing format. We implement it so you can dump the
unencrypted network traffic for debugging purposes. Read more at
http://www.tcpdump.org/
Cheers,
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.org
On Saturday 12 April 2014 22:53:07 Aris Adamantiadis wrote:
Le 11/04/14 14:31, Andreas Schneider a écrit :
Hi,
This is regarding the vulnerability CVE-2014-0160 (OpenSSL Heartbleed),
we understand that we use openSSL in our implementation.
We link -lssl and use libcrypto.so in our
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
algorithms.
See:
https://www.openssl.org/docs/crypto/crypto.html
Cheers,
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
featured ssh server. It just shows how to do things.
Maybe it works with
http://git.libssh.org/projects/libssh.git/tree/examples/ssh_server_fork.c
but I wouldn't guarantee it ...
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.org
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
;
}
break;
case SSH_BIND_OPTIONS_BINDADDR:
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
and resend :)
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
for each of the
'waitsession_unblocked' and 'waitwindow_termination' loops that take place
before the write.
There should be no behavior change for the existing ssh_channel_write
functions.
Could you please rebase the patch and resend?
Thanks,
-- andreas
--
Andreas Schneider
Thanks for all the contributions! I'm sorry but I'm currently busy with
security updates and other urgent stuff.
I will go over all patches next week!
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
?
this is not the callback way how libssh server should be implemented. See
http://git.libssh.org/projects/libssh.git/tree/examples/ssh_server_fork.c
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
or
http://git.libssh.org/projects/libssh.git/tree/src/pki.c#n206
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
On Wednesday 26 February 2014 02:29:32 Dustin Oprea wrote:
On Wed, Feb 26, 2014 at 2:22 AM, Andreas Schneider
a...@cryptomilk.orgwrote:
On Tuesday 25 February 2014 22:19:49 Dustin Oprea wrote:
Alan/Andreas:
Hi Dustin,
I'm guessing that the value assigned to ssh_key_struct.type
On Friday 21 February 2014 01:20:44 Dustin Oprea wrote:
On Sun, Feb 2, 2014 at 1:36 PM, Andreas Schneider a...@cryptomilk.orgwrote:
On Tuesday 28 January 2014 19:14:04 you wrote:
Just a note.
I've worked out how to make it work using polling, but I don't want to
spam the mailing
open bugs for them and split it in to patches?
Add to the commit message
BUG: https://red.libssh.org/issues/ID
Thanks,
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
www.cryptomilk.orga...@cryptomilk.org
401 - 500 of 682 matches
Mail list logo