diff options
author | Micah Anderson <micah@riseup.net> | 2008-10-26 12:34:56 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2008-10-26 12:34:56 -0400 |
commit | 20e88948f035c56d51f07c53de50b75df57fc816 (patch) | |
tree | b949e026bbf3687f05c1d98e1e22d9f9c0d31f62 /tests/home/testuser/.ssh | |
parent | 5722f3ce688ce4f71a7f3a4a3aa3d070c3e47014 (diff) | |
parent | eef5c546af5f7a723be67303feee9b05b47b0fdb (diff) |
Merge commit 'dkg/master'
Diffstat (limited to 'tests/home/testuser/.ssh')
-rwxr-xr-x | tests/home/testuser/.ssh/askpass | 6 | ||||
-rw-r--r-- | tests/home/testuser/.ssh/config | 10 | ||||
-rwxr-xr-x | tests/home/testuser/.ssh/proxy-command | 8 |
3 files changed, 24 insertions, 0 deletions
diff --git a/tests/home/testuser/.ssh/askpass b/tests/home/testuser/.ssh/askpass new file mode 100755 index 0000000..5b7b059 --- /dev/null +++ b/tests/home/testuser/.ssh/askpass @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +# phony/automatic askpass, to provide the passphrase for the +# testuser's GPG key. + +echo abc123 diff --git a/tests/home/testuser/.ssh/config b/tests/home/testuser/.ssh/config new file mode 100644 index 0000000..1da2344 --- /dev/null +++ b/tests/home/testuser/.ssh/config @@ -0,0 +1,10 @@ +# ssh config file for testuser for monkeysphere test suite. +Host * +PasswordAuthentication no +KbdInteractiveAuthentication no +RSAAuthentication no +GSSAPIAuthentication no +StrictHostKeyChecking yes +LogLevel DEBUG + +# UserKnownHostsFile and ProxyCommand will be filled in dynamically. diff --git a/tests/home/testuser/.ssh/proxy-command b/tests/home/testuser/.ssh/proxy-command new file mode 100755 index 0000000..21c66fa --- /dev/null +++ b/tests/home/testuser/.ssh/proxy-command @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +# simple socket-based proxy-command wrapper for testing monkeysphere. + +# pass this thing the host, the port, and the socket. + +monkeysphere-ssh-proxycommand --no-connect "$1" "$2" && \ +exec socat STDIO UNIX:"$3" |