├── .gitignore ├── Cargo.toml ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── async-ssh2-lite ├── Cargo.toml ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── demos │ └── smol │ │ ├── Cargo.toml │ │ └── src │ │ └── proxy_jump.rs ├── src │ ├── agent.rs │ ├── channel.rs │ ├── error.rs │ ├── lib.rs │ ├── listener.rs │ ├── session.rs │ ├── session_stream │ │ ├── impl_async_io.rs │ │ ├── impl_tokio.rs │ │ └── mod.rs │ ├── sftp.rs │ └── util.rs └── tests │ ├── integration_tests.rs │ ├── integration_tests │ ├── agent__list_identities.rs │ ├── channel__exec.rs │ ├── helpers.rs │ ├── remote_port_forwarding.rs │ ├── session__channel_forward_listen.rs │ ├── session__scp_send_and_scp_recv.rs │ ├── session__userauth_agent.rs │ ├── session__userauth_password.rs │ ├── session__userauth_pubkey.rs │ ├── sftp.rs │ └── tokio_spawn_session.rs │ ├── keys │ └── run_integration_tests.sh ├── bb8-async-ssh2-lite ├── Cargo.toml ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── demo │ ├── Cargo.toml │ └── src │ │ └── tokio_tcp_stream.rs └── src │ ├── impl_tokio.rs │ └── lib.rs ├── keys ├── README.md ├── id_ed25519 ├── id_ed25519.pub ├── id_rsa └── id_rsa.pub └── openssh_server_docker ├── jump ├── keys └── run.sh ├── keys ├── simple ├── keys └── run.sh ├── sshd_append_PubkeyAcceptedAlgorithms.sh ├── sshd_increase_MaxSessions.sh ├── sshd_increase_MaxStartups.sh ├── sshd_yes_AllowAgentForwarding.sh ├── sshd_yes_AllowTcpForwarding.sh ├── sshd_yes_GatewayPorts.sh └── sshd_yes_PermitRootLogin.sh /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | Cargo.lock 3 | .vscode 4 | .idea 5 | .DS_Store 6 | -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/LICENSE-APACHE -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/README.md -------------------------------------------------------------------------------- /async-ssh2-lite/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/async-ssh2-lite/Cargo.toml -------------------------------------------------------------------------------- /async-ssh2-lite/LICENSE-APACHE: -------------------------------------------------------------------------------- 1 | ../LICENSE-APACHE -------------------------------------------------------------------------------- /async-ssh2-lite/LICENSE-MIT: -------------------------------------------------------------------------------- 1 | ../LICENSE-MIT -------------------------------------------------------------------------------- /async-ssh2-lite/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/async-ssh2-lite/README.md -------------------------------------------------------------------------------- /async-ssh2-lite/demos/smol/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/async-ssh2-lite/demos/smol/Cargo.toml -------------------------------------------------------------------------------- /async-ssh2-lite/demos/smol/src/proxy_jump.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/async-ssh2-lite/demos/smol/src/proxy_jump.rs -------------------------------------------------------------------------------- /async-ssh2-lite/src/agent.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/async-ssh2-lite/src/agent.rs -------------------------------------------------------------------------------- /async-ssh2-lite/src/channel.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/async-ssh2-lite/src/channel.rs -------------------------------------------------------------------------------- /async-ssh2-lite/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/async-ssh2-lite/src/error.rs -------------------------------------------------------------------------------- /async-ssh2-lite/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/async-ssh2-lite/src/lib.rs -------------------------------------------------------------------------------- /async-ssh2-lite/src/listener.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/async-ssh2-lite/src/listener.rs -------------------------------------------------------------------------------- /async-ssh2-lite/src/session.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/async-ssh2-lite/src/session.rs -------------------------------------------------------------------------------- /async-ssh2-lite/src/session_stream/impl_async_io.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/async-ssh2-lite/src/session_stream/impl_async_io.rs -------------------------------------------------------------------------------- /async-ssh2-lite/src/session_stream/impl_tokio.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/async-ssh2-lite/src/session_stream/impl_tokio.rs -------------------------------------------------------------------------------- /async-ssh2-lite/src/session_stream/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/async-ssh2-lite/src/session_stream/mod.rs -------------------------------------------------------------------------------- /async-ssh2-lite/src/sftp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/async-ssh2-lite/src/sftp.rs -------------------------------------------------------------------------------- /async-ssh2-lite/src/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/async-ssh2-lite/src/util.rs -------------------------------------------------------------------------------- /async-ssh2-lite/tests/integration_tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/async-ssh2-lite/tests/integration_tests.rs -------------------------------------------------------------------------------- /async-ssh2-lite/tests/integration_tests/agent__list_identities.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/async-ssh2-lite/tests/integration_tests/agent__list_identities.rs -------------------------------------------------------------------------------- /async-ssh2-lite/tests/integration_tests/channel__exec.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/async-ssh2-lite/tests/integration_tests/channel__exec.rs -------------------------------------------------------------------------------- /async-ssh2-lite/tests/integration_tests/helpers.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/async-ssh2-lite/tests/integration_tests/helpers.rs -------------------------------------------------------------------------------- /async-ssh2-lite/tests/integration_tests/remote_port_forwarding.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/async-ssh2-lite/tests/integration_tests/remote_port_forwarding.rs -------------------------------------------------------------------------------- /async-ssh2-lite/tests/integration_tests/session__channel_forward_listen.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/async-ssh2-lite/tests/integration_tests/session__channel_forward_listen.rs -------------------------------------------------------------------------------- /async-ssh2-lite/tests/integration_tests/session__scp_send_and_scp_recv.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/async-ssh2-lite/tests/integration_tests/session__scp_send_and_scp_recv.rs -------------------------------------------------------------------------------- /async-ssh2-lite/tests/integration_tests/session__userauth_agent.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/async-ssh2-lite/tests/integration_tests/session__userauth_agent.rs -------------------------------------------------------------------------------- /async-ssh2-lite/tests/integration_tests/session__userauth_password.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/async-ssh2-lite/tests/integration_tests/session__userauth_password.rs -------------------------------------------------------------------------------- /async-ssh2-lite/tests/integration_tests/session__userauth_pubkey.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/async-ssh2-lite/tests/integration_tests/session__userauth_pubkey.rs -------------------------------------------------------------------------------- /async-ssh2-lite/tests/integration_tests/sftp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/async-ssh2-lite/tests/integration_tests/sftp.rs -------------------------------------------------------------------------------- /async-ssh2-lite/tests/integration_tests/tokio_spawn_session.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/async-ssh2-lite/tests/integration_tests/tokio_spawn_session.rs -------------------------------------------------------------------------------- /async-ssh2-lite/tests/keys: -------------------------------------------------------------------------------- 1 | ../../keys -------------------------------------------------------------------------------- /async-ssh2-lite/tests/run_integration_tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/async-ssh2-lite/tests/run_integration_tests.sh -------------------------------------------------------------------------------- /bb8-async-ssh2-lite/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/bb8-async-ssh2-lite/Cargo.toml -------------------------------------------------------------------------------- /bb8-async-ssh2-lite/LICENSE-APACHE: -------------------------------------------------------------------------------- 1 | ../LICENSE-APACHE -------------------------------------------------------------------------------- /bb8-async-ssh2-lite/LICENSE-MIT: -------------------------------------------------------------------------------- 1 | ../LICENSE-MIT -------------------------------------------------------------------------------- /bb8-async-ssh2-lite/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/bb8-async-ssh2-lite/README.md -------------------------------------------------------------------------------- /bb8-async-ssh2-lite/demo/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/bb8-async-ssh2-lite/demo/Cargo.toml -------------------------------------------------------------------------------- /bb8-async-ssh2-lite/demo/src/tokio_tcp_stream.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/bb8-async-ssh2-lite/demo/src/tokio_tcp_stream.rs -------------------------------------------------------------------------------- /bb8-async-ssh2-lite/src/impl_tokio.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/bb8-async-ssh2-lite/src/impl_tokio.rs -------------------------------------------------------------------------------- /bb8-async-ssh2-lite/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/bb8-async-ssh2-lite/src/lib.rs -------------------------------------------------------------------------------- /keys/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/keys/README.md -------------------------------------------------------------------------------- /keys/id_ed25519: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/keys/id_ed25519 -------------------------------------------------------------------------------- /keys/id_ed25519.pub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/keys/id_ed25519.pub -------------------------------------------------------------------------------- /keys/id_rsa: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/keys/id_rsa -------------------------------------------------------------------------------- /keys/id_rsa.pub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/keys/id_rsa.pub -------------------------------------------------------------------------------- /openssh_server_docker/jump/keys: -------------------------------------------------------------------------------- 1 | ../../keys -------------------------------------------------------------------------------- /openssh_server_docker/jump/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/openssh_server_docker/jump/run.sh -------------------------------------------------------------------------------- /openssh_server_docker/keys: -------------------------------------------------------------------------------- 1 | ../keys -------------------------------------------------------------------------------- /openssh_server_docker/simple/keys: -------------------------------------------------------------------------------- 1 | ../../keys -------------------------------------------------------------------------------- /openssh_server_docker/simple/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/openssh_server_docker/simple/run.sh -------------------------------------------------------------------------------- /openssh_server_docker/sshd_append_PubkeyAcceptedAlgorithms.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/openssh_server_docker/sshd_append_PubkeyAcceptedAlgorithms.sh -------------------------------------------------------------------------------- /openssh_server_docker/sshd_increase_MaxSessions.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/openssh_server_docker/sshd_increase_MaxSessions.sh -------------------------------------------------------------------------------- /openssh_server_docker/sshd_increase_MaxStartups.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/openssh_server_docker/sshd_increase_MaxStartups.sh -------------------------------------------------------------------------------- /openssh_server_docker/sshd_yes_AllowAgentForwarding.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/openssh_server_docker/sshd_yes_AllowAgentForwarding.sh -------------------------------------------------------------------------------- /openssh_server_docker/sshd_yes_AllowTcpForwarding.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/openssh_server_docker/sshd_yes_AllowTcpForwarding.sh -------------------------------------------------------------------------------- /openssh_server_docker/sshd_yes_GatewayPorts.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/openssh_server_docker/sshd_yes_GatewayPorts.sh -------------------------------------------------------------------------------- /openssh_server_docker/sshd_yes_PermitRootLogin.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bk-rs/ssh-rs/HEAD/openssh_server_docker/sshd_yes_PermitRootLogin.sh --------------------------------------------------------------------------------