From da080c472fc415b0ce918f4dd4a1ab143bb1bca4 Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Mon, 14 Mar 2016 15:36:16 +0100 Subject: rough attempt to grab the good cucumber bits from recent tails --- features/ssh.feature | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 features/ssh.feature (limited to 'features/ssh.feature') 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 -- cgit v1.2.3-70-g09d2