What client are you running the script from.
If it's a windows client you could download and install putty which is a freeware SSH client. If you add the directory where putty resides to your PATH variable you can invoke SSH from the command line.
If is a Unix client then i believe you will be able to SSH from the command line already as support for SSH has been around for a while, certainly on Solaris and Linux.
HTH
PD