summaryrefslogtreecommitdiffstats
path: root/features/ssh.feature
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2016-03-14 15:36:16 +0100
committerHolger Levsen <holger@layer-acht.org>2016-04-28 21:52:10 +0200
commitda080c472fc415b0ce918f4dd4a1ab143bb1bca4 (patch)
treebf63179f32f0eda0c2d5796e3e31c18c3c1185cf /features/ssh.feature
parent26a9e8ec2bcae03db4d663d87b44d8708d64fdc2 (diff)
downloadjenkins.debian.net-da080c472fc415b0ce918f4dd4a1ab143bb1bca4.tar.xz
rough attempt to grab the good cucumber bits from recent tails
Diffstat (limited to 'features/ssh.feature')
-rw-r--r--features/ssh.feature31
1 files changed, 31 insertions, 0 deletions
diff --git a/features/ssh.feature b/features/ssh.feature
new file mode 100644
index 00000000..85289992
--- /dev/null
+++ b/features/ssh.feature
@@ -0,0 +1,31 @@
+#10497: wait_until_tor_is_working
+#10498: SSH tests are fragile
+@product @fragile
+Feature: Logging in via SSH
+ As a Tails user
+ When I connect to SSH servers on the Internet
+ all Internet traffic should flow only through Tor
+
+ Background:
+ Given I have started Tails from DVD and logged in and the network is connected
+
+ @check_tor_leaks
+ Scenario: Connecting to an SSH server on the Internet
+ Given I have the SSH key pair for an SSH server
+ When I connect to an SSH server on the Internet
+ And I verify the SSH fingerprint for the SSH server
+ Then I have sucessfully logged into the SSH server
+
+ @check_tor_leaks
+ Scenario: Connecting to an SSH server on the LAN
+ Given I have the SSH key pair for an SSH server
+ And an SSH server is running on the LAN
+ When I connect to an SSH server on the LAN
+ Then I am prompted to verify the SSH fingerprint for the SSH server
+
+ @check_tor_leaks
+ Scenario: Connecting to an SFTP server on the Internet using the GNOME "Connect to Server" feature
+ Given I have the SSH key pair for an SFTP server
+ When I connect to an SFTP server on the Internet
+ And I verify the SSH fingerprint for the SFTP server
+ Then I successfully connect to the SFTP server