views:

159

answers:

1

Is there a library for SSH in ActionScript 3? If not, I'd appreciate some ideas on how to have Flash integrate with SSH.

I have a Flash prototype programmed out, and my client wants to see some minimal integration with an SSH server. What is needed is basically:

  • connect
  • authenticate
  • send a few basic commands

I can't just have these commands be sent out blindly, as I need Flash to be aware of the SSH feedback and let the user know if the authentication, commands, etc were successful.

+2  A: 

I don't believe that there is any SSH client implementation for AS3. Do you really need it to be SSH or just some protected protocol? Flash can pretty easily read https - so if you just need it to be encrypted you could use https to send/receive your data.

Otherwise you'd probably have to port the OpenSSH client to AS3 - not an easy task -- and the client site would still need to have a flash policy file to allow a flash client to open the SSH port (22?)

Aaron
I'm working with a very specific setup of Cisco hardware, and have to use SSH. Some of their stuff uses a Telnet tunnel for SSH, so I'm going to see if that option is available. I've already got a AS-Telnet tunnel setup.
Jeremy White