08-16-2016
Hi,
you can link putty.exe as download in the .jsp file. This a very bad idea since every browser get extremely alarmed - which is a very good thing to protect the PCs user - if some website offers an executable file to execute at the clients pc.
You presumably have to battle with several security measures preventing the execution of .exe-files. Furthermore this will only work with windows as client. No MAC, no Linux. A Java-Applet maybe a cross-platform Alternative, but the security-nightmare is nearly the same as with .exe - files. You can try to just put putty.exe on your webserver and get it executed. Maybe thats ok for you. If that works you may link it in your jsp-file.
You may search for a html / javascript based SSH-Terminal and if you like to offer such functionality via the internet you shouldn't even think about doing that without a proper SSL-secured Webserver or you end up sending your (root?)-Passwords in plain over the net.
An interesting SSH-Terminal maybe e. g.:
GitHub - liftoff/GateOne: Gate One is an HTML5-powered terminal emulator and SSH client
Have a look here too:
Web-based SSH - Wikipedia, the free encyclopedia
regards,
stomp
Last edited by stomp; 08-16-2016 at 03:48 PM..
10 More Discussions You Might Find Interesting
1. Linux
Hai,
is there any way to run an .exe file in unix environment . i have read that WINE HQ supports this concept but its very inconsistent and upto the user risk . but i tried WINE but iam not able to configure it can any one help me in this matter
Regards
Sanju (1 Reply)
Discussion started by: sanjustudy
1 Replies
2. HP-UX
Hello,
I have an test.exe file under a directory. When i execute the .exe file directory from the prompt, i get following error:
$ test.exe <enter>
ksh: test.exe: not found
How do i solve this error?
TIA,
Ramesh (1 Reply)
Discussion started by: brap45
1 Replies
3. Programming
I have C++ exe file( no source code) and need to run many large dataset under unix, but how to know the memeroy usage for one dataset?http://www.codeproject.com/script/Forums/Images/New.gif
I think "top" is not good and if using the profiler, it seems no free download, any ideas? (1 Reply)
Discussion started by: Danielwang1986
1 Replies
4. UNIX for Dummies Questions & Answers
Hi, I've got this requirement for my homework assignment, but I'm not sure how to meet it:
In the comamnd line, I need to type
$ <exec-file> <input> <output_file_name>
Like:
test 1+2 out.txt
Which should execute test.exe passing in 1+2 and directing output to out.txt.
I know how... (1 Reply)
Discussion started by: JustinT
1 Replies
5. Shell Programming and Scripting
Hi We use Unix for our application,
I need to execute a .exe file at WS server, I am not sure if its possible with shell scripting. PLease let me know how it can be. Let me know if I am not clear.
Thanks in advance. (4 Replies)
Discussion started by: Dharv
4 Replies
6. UNIX for Dummies Questions & Answers
Hello All,
I am running a script (power shell) from my desktop (Windows). The script needs to sftp a file(using PuTTY psftp.exe ) from my desktop to a server(UNIX server). Then, as a second step, the script needs to move (or copy and delete) this file from one directory on the server (UNIX server)... (3 Replies)
Discussion started by: scampi
3 Replies
7. UNIX for Dummies Questions & Answers
Hi
I was accessing our linux test server via putty and By mistake i deleted /etc/passwd file.....
It is allowing me to login..... So could anyone please help me out in this issue....
Please, it is urgent (6 Replies)
Discussion started by: rahul547
6 Replies
8. Proxy Server
I have a requirement of following -
1. Transfer excel spreadsheet from desktop to unix server
2. Open the spreadsheet and read the sql row by row at a time
3. Run each sql on database using unix and then send output back to spreadsheet that was uploaded earlier and then transfer file back to... (12 Replies)
Discussion started by: Analabhatla
12 Replies
9. Shell Programming and Scripting
Good morning ..,
I have a problem to run my object program. Before, I run my program in cygwin and there is no problem. When I tried in linux (ubuntu), the terminal said that space.exe : command not found.
this is the code in my shell
space.exe gr1
result
space.exe: command not found... (2 Replies)
Discussion started by: weslyarfan
2 Replies
10. Windows & DOS: Issues & Discussions
I ssh from Windows to Linux server and execute a few commands. I have ssh keys setup between them and works fine.
The commands get executed on the Linux server however I wish to stay on the Linux terminal that was opened by putty.exe. However, the terminal simply does the job and closes.
... (10 Replies)
Discussion started by: mohtashims
10 Replies
LEARN ABOUT MOJAVE
javaws
javaws(1) General Commands Manual javaws(1)
NAME
javaws - Java Web Start launcher command
SYNOPSIS
javaws [ options ] [ URL ]
PARAMETERS
options Command-line options. Options many be in any order. For a discussion of the various options, see OPTIONS below.
URL Uniform Resource Locator (URL) of the JNLP (Java Network Launching Protocol) file.
DESCRIPTION
The javaws command launches Java Web Start, which is the reference implementation of the Java Network Launching Protocol (JNLP). Java Web
Start launches java application/applets hosted on a network.
Without any options javaws will launch the Java JNLP Application Manager, from which users can launch applications/applet or configure Java
Web Start.
If a URL for a JNLP file is specified, javaws will launch the Java application/applet specified in the JNLP file.
OPTIONS
The javaws launcher has a set of options that are supported in the current release. However, the options may be removed in a future
release. All -X options are non-standard and subject to change.
-offline
Runs Java Web Start in offline mode.
-uninstall URL
Removes a specific application/applet from the user's cache, as indicated by the URL for the JNLP file. Java Web Start will exit
after the command has completed.
-updateVersions
Updates the Java Web Start configuration file based on the current machine's settings. Java Web Start will exit when the command is
completed.
-Xclearcache
Clears the user's cache. Java Web Start will exit after the command has completed.
-Xnosplash
Disables the display of the initial splash screen.
-import
Imports the application specified by the URL into the user's cache but does not run it..
-silent
When used with the -import option, imports in silent mode; i.e., there will be no UI pop up. The process exit code will be either 0
if successful or 1 if not.
-codebase URL
Replaces the codebase with URL in the jnlp file specified when importing the resources. URL must be a valid URL.
-system
Uses the system cache instead of the user cache.
-shortcut
Allows the creation of shortcuts during silent import.
-association
Allows the creation of associations during silent import.
-open arguments
If specified, replaces the arguments in the jnlp file with -open arguments.
-print arguments
If specified, replaces the arguments in the jnlp file with -print arguments.
-online
Runs in online mode (default behavior).
-viewer
Runs the Java Application Cache Viewer (default if no URL is specified).
-userConfig property-name
Clears the specified deployment property.
-userConfig property-name property-value
Sets the specified deployment property to the specified value.
-wait If specified, the javaws process will not exit until the application exits.
FILES
For more information about the user and system cache and deployment.properties files, see http://java.sun.com/j2se/1.5.0/docs/guide/deploy-
ment/deployment-guide/properties.html
MORE INFORMATION
For more information about Java Web Start, see http://java.sun.com/j2se/1.5.0/docs/guide/javaws/index.html.
09 April 2004 javaws(1)