summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorIngolf Wagner <contact@ingolf-wagner.de>2020-03-14 16:09:09 +0800
committerIngolf Wagner <contact@ingolf-wagner.de>2020-03-14 20:32:00 +0800
commit0a22398a47bc684962105e53e5d4c672bf817436 (patch)
tree8eb0ad779869fd199f9dded2585317796b738d93 /tests
parent8669ba9829302c45e054341686a28d827c11f2ab (diff)
add --allow-extra option
Diffstat (limited to 'tests')
-rw-r--r--tests/cheats/ssh.cheat6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/cheats/ssh.cheat b/tests/cheats/ssh.cheat
new file mode 100644
index 0000000..94d46df
--- /dev/null
+++ b/tests/cheats/ssh.cheat
@@ -0,0 +1,6 @@
+% ssh
+
+# login to a server with a key and port
+ssh -i <sshkey> -p <port> <user>@<server>
+
+$ user : echo -e "$(whoami)\nroot" --- --allow-extra