How to run putty.exe file in server?


 
Thread Tools Search this Thread
Operating Systems Solaris How to run putty.exe file in server?
# 1  
Old 08-16-2016
How to run putty.exe file in server?

Hi,
I want to run putty.exe in Solaris server.My main aim is to invoke the putty.exe in Solaris server from a web application(.jsp) deployed in the server so that putty terminal should open.

Thanks in advance
# 2  
Old 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..
# 3  
Old 08-18-2016
Thanks stomp for the reply.

Firstly i dont want it to be download as virus files. Just it should be invoked for a particular ip's a terimal should be opened for excuting commands.

Second i gone through Gateone , but it is webbased . My systems will not be connected to internet they are Intranet connections.

Can u suggest me any other option

Thanks in advance
# 4  
Old 08-18-2016
Why not just tell them to use putty? I'm not really understanding the issue here, especially on an intranet where you've got the opportunity to inform people what to do.
# 5  
Old 08-18-2016
The systems will be on client side. The application is deployed intranet systems connected in different countries. In the code(.jsp) we will be having 100 ips.When we click on particular ip that server terminal should be opened

Thanks Corona
# 6  
Old 08-18-2016
Quote:
Second i gone through Gateone , but it is webbased . My systems will not be connected to internet they are Intranet connections.
Yes it is webbased(That's the cool thing about it Smilie ). And if you put the Gateone-Application onto your webserver you do not need a connection to the internet. All is located within your own webserver. And no, I would never trust an ssh-terminal located on a foreign server Smilie .

Quote:
I'm not really understanding the issue here, especially on an intranet where you've got the opportunity to inform people what to do.
I assume chaithanyaa likes to have some button "click here to open ssh-terminal to this server". IMHO very convenient. This possibly eleminates all client side configuration. (SSH-Settings can be configured the server before launching the web-ssh-terminal).

Last edited by stomp; 08-18-2016 at 12:33 PM..
# 7  
Old 08-18-2016
Quote:
Originally Posted by stomp
I assume chaithanyaa likes to have some button "click here to open ssh-terminal to this server". IMHO very convenient. This possibly eleminates all client side configuration. (SSH-Settings can be configured the server before launching the web-ssh-terminal).
But then you have to have the settings to allow the web server that much control enabled. It seldom works out that easily. Observe the rounds of installation and configuration whack-a-mole needed to run a java-based meeting client, even after install there's probably still a few 'are you really sure?' 'no, are you REALLY sure?' popups to wade through. SSH is liable to have its own particular hurdles there as well.

You can push that all out of course, this being an intranet, but it's rather the long way around from just pushing putty onto their desktop in the first place.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

Cant get responsive terminal when I ssh from Windows to Linux using putty.exe

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

2. Shell Programming and Scripting

Run .exe file with inputs file

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

3. Proxy Server

Upload file from desktop to UNIX server via putty

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

4. UNIX for Dummies Questions & Answers

Deleted /etc/passwd file while accessing to our test server via putty

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

5. UNIX for Dummies Questions & Answers

[Solved] Is it possible to use PuTTY psftp.exe to move file from one directory to another?

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

6. Shell Programming and Scripting

Executing .exe file at WS Server from Unix

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

7. UNIX for Dummies Questions & Answers

(Beginner) Run c++ .exe with input to file

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

8. Programming

I have C++ exe file( no source code) and need to run many large dataset under unix, b

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

9. HP-UX

How to run .exe file

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

10. Linux

How to run .exe

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
Login or Register to Ask a Question