aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-10-21 16:36:05 +0700
committerShulhan <ms@kilabit.info>2023-10-21 16:36:05 +0700
commit28f9ab76a83efcfcf777e571fea826e2dfc3e28e (patch)
tree71f135a3158e18cb2d63a035e86034db4a188951
parenteff8835c5edd9a85047e42f0d7950b75003d19ea (diff)
downloadawwan-28f9ab76a83efcfcf777e571fea826e2dfc3e28e.tar.xz
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".
-rw-r--r--testdata/play/.ssh/config5
-rw-r--r--testdata/play/README.adoc9
-rw-r--r--testdata/play/awwanssh.test/tmp/.gitignore2
3 files changed, 16 insertions, 0 deletions
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