Method: Toolshed::Commands::SSH.cli_options

Defined in:
lib/toolshed/commands/ssh.rb

.cli_optionsObject



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# File 'lib/toolshed/commands/ssh.rb', line 6

def self.cli_options
  {
    banner: 'Usage: ssh [options]',
    options: {
      use_sudo: {
        short_on: '-e'
      },
      host: {
        short_on: '-o'
      },
      connection_string_options: {
        short_on: '-n'
      },
      commands: {
        short_on: '-c'
      },
      password: {
        short_on: '-p'
      },
      prompt_for_password: {
        short_on: '-r'
      },
      user: {
        short_on: '-u'
      },
      keys: {
        short_on: '-k'
      },
      sudo_password: {
        short_on: '-s'
      },
      verbose_output: {
        short_on: '-v'
      },
      timeout_period: {
        short_on: '-t'
      }
    }
  }
end