Exception: Tomo::SSH::ConnectionError
- Defined in:
- lib/tomo/ssh/connection_error.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
Methods inherited from Error
Methods included from Colors
Instance Method Details
#to_console ⇒ Object
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/tomo/ssh/connection_error.rb', line 6 def to_console msg = <<~ERROR Unable to connect via SSH to #{yellow(host.address)} on port #{yellow(host.port)}. Make sure the hostname and port are correct and that you have the necessary network (or VPN) access. ERROR [msg, super].join("\n") end |