Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Thread-safe Open3 for Net::SSH.
Adds some Open3-style functions to Net::SSH::Connection::Session.
See ruby 1.9.3 doc or ruby 2.0 doc.
Usage example:
irb(main):001:0> require 'net-ssh-open3'
=> true
irb(main):002:0> session = Net::SSH.start('localhost', 'root'); nil
=> nil
irb(main):003:0> puts session.capture2e('ls', '/boot') # also: 'ls /boot'
grub
initramfs-linux-fallback.img
initramfs-linux.img
lost+found
memtest86+
vmlinuz-linux
pid 1594 exit 0
=> nil
irb(main):004:0> session.popen2e('sh') { |i, oe, w| i.puts('kill $$'); w[:status] }
=> #<Net::SSH::Process::Status: pid 16864 TERM (signal 15) core false>
Note: a single SSH session may have several channels, i.e. you may run several Open3 methods on the same session in parallel (in different threads).
For more information please see documentation inside. Recommended starting point is "Methods included from Net::SSH::Open3" in Net::SSH::Connection::Session.
TODO: don't require block
FAQs
Unknown package
We found that net-ssh-open3 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.