Sha256: 7d4def8149907c0eb49de126e9e53ddf5b739819f1ef1c10706f7405726ff3bb
Contents?: true
Size: 1.52 KB
Versions: 8
Compression:
Stored size: 1.52 KB
Contents
# For complete Aruba step listing see: # lib/aruba/cucumber.rb # or https://github.com/aslakhellesoy/aruba/blob/master/lib/aruba/cucumber.rb @announce Feature: Password-less SSH In order to specify remote command execution As a developer using Cucumber I want to use Aruba and custom steps to describe SSH sessions Background: Given that "cuken/ssh" has been required And default ssh-forever options And I initialize password-less SSH access Scenario: Aruba steps for remote commands via password-less SSH access Given I successfully run "ssh cuken 'echo Supercalifragilisticexpialidocious;'" Then the output contains "Supercalifragilisticexpialidocious" Scenario: Batch initialize password-less SSH access When I initialize password-less SSH access for: | user | hostname | name | port | | `whoami` | `hostname` | `echo cuken` | `echo 22` | | :default | localhost | `echo cuken` | 22 | | :default | :default | :default | :default | And I successfully run `ssh cuken 'echo Supercalifragilisticexpialidocious;'` Then the output contains "Supercalifragilisticexpialidocious" Scenario: Initialize interactive password-less SSH access When I interactively SSH to: | user | hostname | name | port | | :default | :default | :default | :default | And I type "echo $SSH_CLIENT" And I type "echo $SSH_CONNECTION" Then I type "exit" And the output contains "..."
Version data entries
8 entries across 8 versions & 1 rubygems