Method: Expect4r::BaseLoginObject.new_ssh
- Defined in:
- lib/misc/base.rb
.new_ssh(*args) ⇒ Object
Examples:
my_mac = RShell.new_ssh '1.1.1.1', 'me', 'secret'
iox = Ios.new_ssh '1.1.1.1', 'lab', 'lab'
ios = Iosx.new_ssh '1.1.1.1', 'username', 'pwd'
37 38 39 |
# File 'lib/misc/base.rb', line 37 def new_ssh(*args) new :ssh, *args end |