SSH Enchanter is a compact script library designed for SSH sessions.
This incredible software tool comes in multiple flavors that support different scripting languages, including Python, Ruby, and BeanShell. It requires Java 5 or greater to operate correctly. In order to connect to a remote SSH server and get the output of the 'date' command, users can run the example script, 'date.py'.
The example script utilizes Enchanter by connecting to the remote SSH server and waiting for the prompt. Once the prompt appears, it uses the sendLine command to send the 'date' command and print the server date. Finally, it disconnects from the SSH server. To execute the example script with Enchanter jar, users can run the command 'java -jar enchanter-python-VERSION.jar date.py' from the current directory.
One of the best things about SSH Enchanter is that it offers many key features to make the user experience smooth and efficient. Different builds to support Python, Ruby, and BeanShell scripts, learning mode to automatically build scripts, support for public key and password-interactive authentication, and an API similar to the ZOC telnet/SSH client are just a few features that make SSH Enchanter stand out.
In the latest version, this release fixes the case when a missing DSA or RSA key would not fail over to password-based authentication methods. Overall, this software tool makes it easy and efficient for users to script SSH sessions with ease.
Version 0.5.1: N/A