Version 20 of ssh

Updated 2006-04-21 18:45:25

Purpose: describe what ssh is, where to find it, and what connections to Tcl it has.

See http://www.openssh.org/ for an open implementation of the secure protocol for starting shell commands across an inter/intranet.

[In the meantime, start with [L1 ].]


Anyone know of a Tcl extension binding to one of the ssh libraries?

Perhaps D. J. Hagberg's example of port forwarding, from 1998 [L2 ] is useful.

Another suggestion was TLS.


TV I've within some limitations, used the cygwin ssh facility, which is quite extensive, except varying from a drag to requiring out of package documentation to install. It is almost unix, though. It also contains working executables to use openSSL to create and deal with certificates, I used it succesfully to make a secure httpd tick, except I forgot how.


CMcC I've thrown together some code to allow remote ssh tcl execution.

hkoba: You can also use comm via ssh to send/eval any script to remote host.


Russell Treleaven reports [L3 ] that he successfully automates ssh client sessions on a Windows host with ActiveState's Expect and the ssh2 executable [L4 ]. He uses the "send slow" option. Both of these applications are proprietary.


AMG: I whipped up a Tcl script that allows you to ssh to multiple hosts at the same time, using a single command and a single set of stdin/stdout/stderr. Try running bash with it, heh heh. (It really works!) For details, see multissh.


See also: Automating sftp with Tcl


"Five Minutes to a More Secure SSH" [L5 ]


Category Internet

Category Security