From 0052d138fb92ae04f278555b7366a9f25e4337c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Kub=C3=AD=C4=8Dek?= Date: Sat, 9 Mar 2024 18:23:56 +0100 Subject: [PATCH] ssh --- Gemfile.lock | 2 ++ lib/xmon.rb | 1 + xmon.gemspec | 1 + 3 files changed, 4 insertions(+) diff --git a/Gemfile.lock b/Gemfile.lock index d43c5ca..5ff8247 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -14,6 +14,7 @@ PATH colorize dnsruby httparty + net-ssh ruby-nmap slop whois-parser @@ -43,6 +44,7 @@ GEM mini_mime (1.1.5) minitest (5.22.2) multi_xml (0.6.0) + net-ssh (7.2.1) nokogiri (1.16.2-arm64-darwin) racc (~> 1.4) parallel (1.24.0) diff --git a/lib/xmon.rb b/lib/xmon.rb index 46f4b63..095edd5 100644 --- a/lib/xmon.rb +++ b/lib/xmon.rb @@ -13,6 +13,7 @@ require_relative "xmon/rdap" require_relative "xmon/reverse_dns" require_relative "xmon/whois" +require_relative "xmon/ssh" module Xmon class Error < StandardError; end diff --git a/xmon.gemspec b/xmon.gemspec index eb9e798..e831186 100644 --- a/xmon.gemspec +++ b/xmon.gemspec @@ -39,6 +39,7 @@ Gem::Specification.new do |spec| spec.add_dependency "ruby-nmap" spec.add_dependency "activesupport", "~> 7.0.8" spec.add_dependency "colorize" + spec.add_dependency "net-ssh" spec.add_development_dependency "pry" # For more information and examples about making a new gem, check out our