
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Add Kerberos (password-less) authentication capabilities to Net::SSH, without the need for modifying Net::SSH source code.
This is a great way to help get Capistrano to be accepted in mid-to-large size enterprises with strict security rules.
No more getting locked out of the network because you mis-typed your password - even if your company prohibits public key or host-based authentication. If your organization uses Kerberos (many mid-to-large size corporations do), you can use this package to get password-less authentication without breaking your company's security guidelines.
Add the following lines to the top of your Capfile (the relevant :auth_method is "gssapi-with-mic")
require 'net/ssh/kerberos'
set :ssh_options, { :auth_methods => %w(gssapi-with-mic publickey hostbased password keyboard-interactive) }
With bundler, add the following lines to Gemfile.
gem 'net-ssh', :require => 'net/ssh'
gem 'net-ssh-krb'
Set :auth_methods in Net::SSH options.
#!/usr/bin/env ruby
require 'rubygems'
require 'bundler'
Bundler.require
Net::SSH.start('10.3.18.198', 'root', {:auth_methods => ["gssapi-with-mic"]}) do |ssh|
puts ssh.exec!('hostname')
end
Copyright (c) 2009-2011 Joe Khoobyar. See LICENSE for details.
FAQs
Unknown package
We found that net-ssh-krb demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.