From 74f62fb37c78ea6de911e292273efbb537e63a82 Mon Sep 17 00:00:00 2001 From: vkill Date: Sun, 20 Nov 2022 21:37:39 +0800 Subject: [PATCH] Update docs --- async-ssh2-lite/tests/run_integration_tests.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/async-ssh2-lite/tests/run_integration_tests.sh b/async-ssh2-lite/tests/run_integration_tests.sh index 6ac5277..48c3d2f 100755 --- a/async-ssh2-lite/tests/run_integration_tests.sh +++ b/async-ssh2-lite/tests/run_integration_tests.sh @@ -24,3 +24,18 @@ export SSH_PASSWORD="password" ${run} ${version} ${listen_port} "cd ${script_path_root}..; cargo test -p async-ssh2-lite --features _integration_tests,async-io,tokio -- --nocapture" ${run} ${version} ${listen_port} "cd ${script_path_root}..; cargo test -p async-ssh2-lite --features _integration_tests,_integration_tests_tokio_ext,async-io,tokio -- --nocapture" + +################################################ +# +# Manual +# +# In server +# $ sudo vim /etc/ssh/sshd_config +# PubkeyAcceptedAlgorithms +ssh-dss,ssh-rsa +# +# $ sudo systemctl restart sshd +# +# In local +# $ SSH_SERVER_HOST=1.1.1.1 SSH_SERVER_PORT=22 SSH_USERNAME=root SSH_PASSWORD=xxxxxx SSH_PRIVATEKEY_PATH=~/.ssh/id_rsa cargo test -p async-ssh2-lite --features _integration_tests,_integration_tests_tokio_ext,async-io,tokio -- --nocapture +# +################################################