summaryrefslogtreecommitdiff
path: root/testing/02-commands-sshkey.yarn
diff options
context:
space:
mode:
Diffstat (limited to 'testing/02-commands-sshkey.yarn')
-rw-r--r--testing/02-commands-sshkey.yarn8
1 files changed, 7 insertions, 1 deletions
diff --git a/testing/02-commands-sshkey.yarn b/testing/02-commands-sshkey.yarn
index da8a309..fc024b4 100644
--- a/testing/02-commands-sshkey.yarn
+++ b/testing/02-commands-sshkey.yarn
@@ -24,15 +24,20 @@ This information is also shown in `sshkey list`.
New keys can be added.
- GIVEN testinstance has keys called newkey
+ GIVEN testinstance has keys called newkey
+ AND testinstance has keys called edkey of type Ed25519
WHEN testinstance uses their ssh public key called newkey as stdin
AND testinstance adminkey runs sshkey add newkey
+ THEN the output contains SSH authorised key file updated
+ WHEN testinstance uses their ssh public key called edkey as stdin
+ AND testinstance adminkey runs sshkey add edkey
THEN the output contains SSH authorised key file updated
Verify the new keys are listed for the user.
WHEN testinstance adminkey runs sshkey list
THEN the output contains newkey
+ AND the output contains edkey
We can delete the old key and proceed with the new key in future.
@@ -44,6 +49,7 @@ We can delete the old key and proceed with the new key in future.
FINALLY the instance is torn down
+
SSH key tracking
----------------