lib/kitchen/driver/ssh_base.rb
# Blocks until a TCP socket is available where a remote SSH server
# should be listening.
#
# @param hostname [String] remote SSH server host
# @param username [String] SSH username (default: `nil`)
# @param options [Hash] configuration hash (default: `{}`)
# @api private
Blocks until a TCP socket is available where a remote SSH server
should be listening.
Blocks until a TCP socket is available where a remote SSH server should be listening .
def wait_for_sshd(hostname, username = nil, options = {})
        pseudo_state = { hostname: hostname }
        pseudo_state[:username] = username if username
        pseudo_state.merge!(options)
        instance.transport.connection(backcompat_merged_state(pseudo_state))
                .wait_until_ready
      end
def wait_for_sshd ( hostname , username = nil , options = { } ) pseudo_state = { hostname : hostname } pseudo_state [ :username ] = username if username pseudo_state . merge! ( options ) instance . transport . connection ( backcompat_merged_state ( pseudo_state ) ) . wait_until_ready end
Blocks until a TCP socket is available where a remote SSH server
should be listening.
Blocks until a TCP socket is available where a remote SSH server should be listening .
hostname
remote SSH server host
remote SSH server host
username
SSH username (default: `nil`)
SSH username ( default : ` nil ` )
options
configuration hash (default: `{}`)
configuration hash ( default : ` {} ` )
api
None