From 28f9ab76a83efcfcf777e571fea826e2dfc3e28e Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sat, 21 Oct 2023 16:36:05 +0700 Subject: testdata/play: awwan workspace for testing SSH functionalities In this directory we setup awwan workspace, with one remote server called "awwanssh.test". The SSH connection to remote server "awwanssh.test" is defined in ".ssh/config". --- testdata/play/.ssh/config | 5 +++++ testdata/play/README.adoc | 9 +++++++++ testdata/play/awwanssh.test/tmp/.gitignore | 2 ++ 3 files changed, 16 insertions(+) create mode 100644 testdata/play/.ssh/config create mode 100644 testdata/play/README.adoc create mode 100644 testdata/play/awwanssh.test/tmp/.gitignore (limited to 'testdata') diff --git a/testdata/play/.ssh/config b/testdata/play/.ssh/config new file mode 100644 index 0000000..a2a8382 --- /dev/null +++ b/testdata/play/.ssh/config @@ -0,0 +1,5 @@ +Host awwanssh.test + Hostname 127.0.0.1 + Port 10022 + User awwanssh + IdentityFile ~/.ssh/id_ed25519 diff --git a/testdata/play/README.adoc b/testdata/play/README.adoc new file mode 100644 index 0000000..6af5cc5 --- /dev/null +++ b/testdata/play/README.adoc @@ -0,0 +1,9 @@ += Integration test for SSH + +In this directory we setup awwan workspace, with one remote server called +"awwanssh.test". +The SSH connection to remote server "awwanssh.test" is defined in +".ssh/config". + +The user "awwanssh" allow all commands to be executed with sudo without +prompting for password. diff --git a/testdata/play/awwanssh.test/tmp/.gitignore b/testdata/play/awwanssh.test/tmp/.gitignore new file mode 100644 index 0000000..120f485 --- /dev/null +++ b/testdata/play/awwanssh.test/tmp/.gitignore @@ -0,0 +1,2 @@ +* +!/.gitignore -- cgit v1.3