Command line usage

Top  Previous  Next

Usage EXE: sscl -f scriptfile [-options]

Usage JAR: java -jar sshfactory.jar -f scriptfile [-options]

 

Example Usage EXE

 

sscl -f script.txt -h myhost.com -u jsmith -p secret

 

Example Usage JAR

 

java -jar sshfactory.jar -f script.txt -h myhost.com -u jsmith -p secret

 

The above examples use SSCL to connect to the host myhost.com with the username jsmith and password secret. Once connected the commands in the script file script.txt are executed on the remote host.

 

Notes

 

1. When using the EXE version the sscl.exe executable must be in your system path or current directory. The EXE version may be used on the Windows operating system only.

 

2. When using the JAR version the java.exe executable must be in your system path or current directory and the full path to the sshfactory.jar file must be specified if not located in your current directory. The JAR version is platform independent and may be used on all platforms.





Home | Company | Products | Solutions | Purchase | Support | Services | Blog

© 2021 JSCAPE LLC