SSH on Web server - WeOnlyDo Discussion board

SSH on Web server (wodSSH / wodSSH.NET)

by Ana Marina Gutierrez, Wednesday, September 29, 2010, 10:26 (4951 days ago)

Hi,

I'm currently developing a web tool that will allow users to send network commands to remote devices. Connection to any remote device will be established using your WodSSH component w/ valid credentials (user+pwd). The web server itself is not supposed to be another device itself, just the host for our asp.net application (i.e., connection requests will be sent by the server, but the server itself does not need to negotiate SSH traffic unless required by WodSSH component). My question is, what is needed to be set up on the web server to allow a proper use of wodSSH component? What it's hanging around my mind is:
- Just port 22 open
OR
- port 22 open + SSH service installed and running (from a 3rd party program, or freeware techs such like CYGWIN)

Thanks in advance for your time,

Re: SSH on Web server

by wodDamir, Wednesday, September 29, 2010, 11:37 (4951 days ago) @ Ana Marina Gutierrez

Hi Ana,

If I understood you correctly, you wish to allow client who browse your page, to use SSH to *some* server. The connection in that case is made by web server machine, but presented to web client as web page.

If that's the case, then all you need in order to run wodSSH.Net from ASP.Net is installing it. You don't need anything else.

Regards,
Damba

Re: SSH on Web server

by Ana Marina Gutierrez, Wednesday, September 29, 2010, 14:55 (4951 days ago) @ wodDamir

Hi Damba,

Yes, the application will display the results of the remote execution on a web page. I was concerned with the idea of anything else to be mandatory installed on the web server in order to make wodSSH work (ports or so). All the tests I've been able to conduct so far with the source code running on localhost have used the same machine as remote device (I've installed CYGWIN to be able to negotiate SSH traffic). Therefore I was unsure if the SSH service was needed anyway on the future *real* web server to let wodSSH establish the communication over the right port.

Thanks for your help :)!

Hi Ana,

If I understood you correctly, you wish to allow client who browse your page, to use SSH to *some* server. The connection in that case is made by web server machine, but presented to web client as web page.

If that's the case, then all you need in order to run wodSSH.Net from ASP.Net is installing it. You don't need anything else.

Regards,
Damba