Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SSH client that can be run in a web page

Posted on 2011-02-16
3
Medium Priority
?
1,915 Views
Last Modified: 2012-06-21
Hi there,
I am producing an admin interface for us to use at work to manage our servers from outside of the office.  Most of it is database driven so creating the pages to manage that has been easy.

What I am now after is a way to embed an SSH client into a web page that connects to the linux boxes via the web server, not the client PC.  This will allow us to log into the boxes from remote locations where we don't have access to VPN and SSH clients.

All I can find on the internet is browser based java SSH clients but I need one that actually connects to the servers from the Web Server as we do not expose the SSH ports externally.

Does anybody know of a product that can do this on IIS6 using ASP.NET?
0
Comment
Question by:SoLost
  • 2
3 Comments
 
LVL 8

Expert Comment

by:thetmanvn
ID: 34914728
Hi Solost,

There're some commercial lib for asp.net but I guess you didn't mean them.
If your purpose is only for your teams only, I thought you should use plink.exe (part of famous putty package) then you in the console output directly in your web pages.

See the usage of plink here:
http://the.earth.li/~sgtatham/putty/0.60/htmldoc/Chapter7.html#plink

Download links:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Hope this help,
T-Man
0
 
LVL 5

Author Comment

by:SoLost
ID: 34919896
Yes, I had thought of using Plink but if I can I'd rather have a proper console window as opposed to one off commands.

What is this commercial lib that you are speaking of?
0
 
LVL 8

Accepted Solution

by:
thetmanvn earned 2000 total points
ID: 34923456
For example:

IPworks ssh:
http://www.nsoftware.com/ipworks/ssh/default.aspx

ssh factory for .NET:
http://www.jscape.com/products/components/net/ssh-factory-for-net/

There're only two opensource lib is sharpssh and granados, but it's seem not full features. You may take a look at this guy project: http://www.codeproject.com/KB/IP/terminalcontrol.aspx

Regards,
T-Man
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question