Method: Net::SSH::Transport::Algorithms#start

Defined in:
lib/net/ssh/transport/algorithms.rb

#startObject

Start the algorithm negotation

Raises:

  • (ArgumentError)


169
170
171
172
173
# File 'lib/net/ssh/transport/algorithms.rb', line 169

def start
  raise ArgumentError, "Cannot call start if it's negotiation started or done" if @pending || @initialized

  send_kexinit
end