Net :: SSH 0.5.0

xiaoxiao2021-03-06  72

Project Page: http://rubyforge.org/projects/net-ssh user manual: http://net-ssh.Rubyforge.org API DOCS: http://net-ssh.rubyforge.org/api

This Release Is The Result of Two Months' Refactoring. Net :: SSH IS NOW Dependent Upon Needle 1.2, And IS NOW MUCH More Internal Consistent, UNIT TESTABLE, MAINTAINABLE, AND EXTENDABLE. Yay!

Note: this release does not include SFTP support SFTP support is now being developed separately (Net :: SFTP) and will see an initial release a week or two after Thanksgiving This release also does not include the rb-keygen utility That (... And other command-line utilities) Will Be Released Separately, as Well. If you need sftp support, you are encouraged to contact net :: ssh 0.1.0.

The API HAS CHANGED! Scripts Written for Net :: SSH 0.1 AND earlier Will Almost CERTAINLY NOT WORK UNMODIFIED with 0.5. Although Theore, The Primary External Changes Are:

1) Net :: ssh :: session # main_loop is renamed to net :: ssh :: session # loop.

2) Net :: ssh :: session # exec is gone. Use channel # exec (with session # loop) INSTEAD.

3) Port forwarding and interacting with remote processes now use different interfaces. If your scripts use these features, see the relevant sections in the revised Net :: SSH users manual. (These features are easier to use, now.)

AS Before, if you are useing a version of ruby ​​<1.8.2, you'll NEED TO GRAB AN Updated Snapshot of The OpenSSL Module for Ruby. (You Can Get It Either from a Recent Ruby Source Tarball, or from the net: : SSH Downloads Page, Though The Recent Ruby Tarball Will Have The More Recent Version.)

转载请注明原文地址:https://www.9cbs.com/read-88082.html

New Post(0)