On 16 Jun 2007, at 12:11, Robert Rawlins wrote: > I'm looking to access a remote Telnet/SSH server and run a few > differet commands. I know quite some time back I was reading > through a scorpio wish list and one of the items listed (and > getting a few votes) was cftelnet as a tag. Can anyone confirm is > Adobe have put this in to scorpio?
There's no mention of that tag in cf8_beta_cfmlreference_052907.pdf. > However, cf8 aside, I need to have somthing to tide me over, does > anyone know if there is anything available? If nothing native to CF > then i'm sure that I'll be able to utilize some form of JAVA > classes to do the job. The easiest solution would be to call a shell script and native SSH program with cfexecute. You would need to make sure that ~/.ssh is correct for the user that the process runs as. If you need more programmatic control at runtime, you might look at cfsftp.cfc available from http://www.socialpoints.com. That project uses JSch (http://www.jcraft.com/jsch/) to perform file transfer with SSH. It wouldn't be trivial to use that CFC as an example to build from in making a wrapper for arbitrary shell commands through SSH, instead of SFTP. But it would be possible. -- Joseph Lamoree ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281388 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

