How To Install rubygem-net-ssh on Rocky Linux 8
Introduction
In this tutorial we learn how to install rubygem-net-ssh
on Rocky Linux 8.
What is rubygem-net-ssh
Net you to write programs that invoke and interact with processes on remote servers, via SSH2.
We can use yum
or dnf
to install rubygem-net-ssh
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-net-ssh.
Install rubygem-net-ssh on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install rubygem-net-ssh
using dnf
by running the following command:
sudo dnf -y install rubygem-net-ssh
Install rubygem-net-ssh on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install rubygem-net-ssh
using yum
by running the following command:
sudo yum -y install rubygem-net-ssh
How To Uninstall rubygem-net-ssh on Rocky Linux 8
To uninstall only the rubygem-net-ssh
package we can use the following command:
sudo dnf remove rubygem-net-ssh
rubygem-net-ssh Package Contents on Rocky Linux 8
/usr/share/gems/gems/net-ssh-5.1.0
/usr/share/gems/gems/net-ssh-5.1.0/LICENSE.txt
/usr/share/gems/gems/net-ssh-5.1.0/lib
/usr/share/gems/gems/net-ssh-5.1.0/lib/net
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/authentication
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/authentication/agent.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/authentication/certificate.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/authentication/constants.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/authentication/ed25519.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/authentication/ed25519_loader.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/authentication/key_manager.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/authentication/methods
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/authentication/methods/abstract.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/authentication/methods/hostbased.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/authentication/methods/keyboard_interactive.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/authentication/methods/none.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/authentication/methods/password.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/authentication/methods/publickey.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/authentication/pageant.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/authentication/pub_key_fingerprint.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/authentication/session.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/buffer.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/buffered_io.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/config.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/connection
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/connection/channel.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/connection/constants.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/connection/event_loop.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/connection/keepalive.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/connection/session.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/connection/term.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/errors.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/key_factory.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/known_hosts.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/loggable.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/packet.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/prompt.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/proxy
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/proxy/command.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/proxy/errors.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/proxy/http.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/proxy/https.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/proxy/jump.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/proxy/socks4.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/proxy/socks5.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/ruby_compat.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/service
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/service/forward.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/test
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/test.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/test/channel.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/test/extensions.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/test/kex.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/test/local_packet.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/test/packet.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/test/remote_packet.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/test/script.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/test/socket.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/algorithms.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/cipher_factory.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/constants.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/ctr.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/abstract.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/md5.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/md5_96.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/none.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/ripemd160.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/sha1.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/sha1_96.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/sha2_256.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/sha2_256_96.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/sha2_512.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/sha2_512_96.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/identity_cipher.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/kex
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/kex.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/kex/diffie_hellman_group14_sha1.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha1.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/kex/ecdh_sha2_nistp256.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/kex/ecdh_sha2_nistp384.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/kex/ecdh_sha2_nistp521.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/key_expander.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/openssl.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/packet_stream.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/server_version.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/session.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/transport/state.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/verifiers
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/verifiers/accept_new.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/verifiers/accept_new_or_local_tunnel.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/verifiers/always.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/verifiers/never.rb
/usr/share/gems/gems/net-ssh-5.1.0/lib/net/ssh/version.rb
/usr/share/gems/gems/net-ssh-5.1.0/support
/usr/share/gems/gems/net-ssh-5.1.0/support/arcfour_check.rb
/usr/share/gems/gems/net-ssh-5.1.0/support/ssh_tunnel_bug.rb
/usr/share/gems/specifications/net-ssh-5.1.0.gemspec
References
Summary
In this tutorial we learn how to install rubygem-net-ssh
on Rocky Linux 8 using yum and dnf.