Age | Commit message (Collapse) | Author |
|
refs: https://github.com/alexcrichton/ssh2-rs/issues/187
refs: https://github.com/alexcrichton/ssh2-rs/issues/191
|
|
This points to a copy of https://github.com/libssh2/libssh2/pull/484
that I stashed in my fork.
We'll keep pointing to this until the feature is merged and once
it is released we can retire my fork.
refs: https://github.com/alexcrichton/ssh2-rs/issues/187
refs: https://github.com/wez/libssh2/pull/2
refs: https://github.com/alexcrichton/ssh2-rs/issues/191
|
|
This caused fairly widespread problems and it seems that the original
issue that led to this change (https://github.com/rust-lang/rust/issues/69552)
should really be fixed by better defining the data exported from eg:
libz-sys rather than having downstream crates replicating the same logic
from inside that crate.
refs: https://github.com/alexcrichton/ssh2-rs/issues/174
refs: https://github.com/alexcrichton/ssh2-rs/pull/170
refs: https://github.com/alexcrichton/ssh2-rs/issues/169
refs: https://github.com/rust-lang/rust/issues/69552
|
|
This was primarily done to address issues from changing
LIBSSH_SYS_USE_PKG_CONFIG, but it's good build script practice to let
Cargo know of every used environment variable.
Closes: https://github.com/alexcrichton/ssh2-rs/issues/171
|
|
|
|
|
|
set in env
|
|
This method enables agent forwarding
|
|
|
|
|
|
|
|
|
|
closes https://github.com/alexcrichton/ssh2-rs/issues/142
|
|
This is largely to accomodate making Session Send again, so go
from 0.4 -> 0.5.
|
|
|
|
The fact that I overlooked this prior to the 0.4.0 release says
something about my humility or my attention to detail.
You decide!
|
|
|
|
|
|
|
|
|
|
hopefully this will make the i686 build a little happier on appveyor
|
|
|
|
Since it's unclear when this fix will be reviewed upstream, let's make
a branch that can be pointed to the fix in the meantime.
Refs https://github.com/alexcrichton/ssh2-rs/issues/122
|
|
Add a function to configure how extended data streams are
to be handled. This allows for merging stderr to stdout, or
discarding it.
|
|
I took pains to not stage it, but git added it anyway...
This should put us back on the original hash for now.
|
|
The recent move to take ownership of TcpStream exposed an issue with
the `handshake` method: if the stream is non-blocking then it may
take several attempts to handshake, but only the first one is able
to transfer ownership.
My initial thought was just to make the TcpStream a required parameter
to `new`, but we have some tests that work with known hosts and the
ssh agent that don't require a tcpstream.
I'm going to review those and see if there is a cleaner overall
solution, but that will likely require more substantial API changes.
For now, the simplest change is to add a separate `set_tcp_stream`
function to make the stream ownership transfer explicit and distinct
from the handshake.
Refs: https://github.com/alexcrichton/ssh2-rs/issues/17
|
|
Refs: https://github.com/alexcrichton/ssh2-rs/issues/65
|
|
* Adopt scp_recv2 instead, which uses compatible 64-bit stat types
* Mark scp_recv as deprecated
* small version bump
Fixes https://github.com/alexcrichton/ssh2-rs/issues/109
Refs https://github.com/alexcrichton/ssh2-rs/pull/117
Co-authored-by: Joyce Babu <joyce@ennexa.com>
|
|
No functional changes, just formatting
|
|
This enables building `ssh2` and `libssh2-sys` with the
`vendored-openssl` feature, which in turn causes openssl to be built and
linked locally, and does not require that homebrew or some other
externally provided version of openssl be made available.
It does require a working C compiler, perl and make.
|
|
This brings us up to date with the current set of host key and known
host key enum variants so that we can parse and edit current known_hosts
files.
This also adds a convenience `From` impl that allows converting from
the host key type to a known hosts entry type.
|
|
Fixes #110
|
|
This change is required to compile session.c
|
|
When LIBSSH2_DH_GEX_NEW is not defined LIBSSH2 will use an old
diffie-hellman-group-exchange-sha1 syntax that has been removed from
newer versions of OpenSSH.
|
|
|
|
* Remove `cmake` dependency in favor of `cc`
This has been done in a few other projects and has made it lightyears easier to
compile native C code, so let's do it here!
More info at alexcrichton/curl-rust#225
|
|
|
|
I don't really want to futz with pkg-config, building on all platforms is a
nightmare.
|
|
|
|
|
|
|
|
|
|
|
|
Older versions no longer build!
|
|
Add LIBSSH2_SYS_USE_PKG_CONFIG env var
|
|
|
|
The latest actual release of libssh2 is old and broken. This uses the submodule instead unless you set `LIBSSH2_SYS_USE_PKG_CONFIG`. The mechanism is copied from libgit2.
|
|
|
|
|
|
|