SSH Enchanter 0.5.1

SSH Enchanter is a small library for scripting SSH sessions.

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
The Apache License 2.0 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Don Brown
HOMEPAGE:
code.google.com
CATEGORY:
ROOT \ System \ Networking
SSH Enchanter is a small library for scripting SSH sessions.

Enchanter is a small library that helps you script SSH sessions in a manner similar to Expect. It comes in multiple flavors that support different scripting languages including Python, Ruby and BeanShell. This tool requires Java 5 or greater.

Here is an example script, 'date.py', that connects to a remote SSH server and gets the output of the 'date' command:

ssh.connect('myserver', 'myusername');
ssh.waitFor(':~>');
ssh.sendLine('date');
print 'Server date is '+ssh.getLine();
ssh.disconnect();

To execute this script with the script and enchanter jar in the current directory, run

java -jar enchanter-python-VERSION.jar date.py

Here are some key features of "SSH Enchanter":

· Different builds to support Python, Ruby, and BeanShell scripts
· 'Learning Mode' to automatically build scripts based on observing an interactive SSH session
· Supports public key and password-interactive authentication
· API similar to the ZOC telnet/SSH client

What's New in This Release:

· This release fixes the case when a missing DSA or RSA key wouldn't properly fail over to password-based authentication methods.

Last updated on February 25th, 2007

#scripting SSH #SSH session #SSH library #SSH #session #enchanter #scripting

Add your review!

SUBMIT