Re: How to call rsh from Applet to remote host
- From: Martin Gregorie <martin@xxxxxxxxxxxxxxxxxxx>
- Date: Wed, 30 May 2007 22:53:48 +0100
Oliver Wong wrote:
<ashutosh.juneja@xxxxxxxxx> wrote in message news:1180542387.831120.23010@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxThat's correct - everything is sent as plaintext including passwords. rsh is now deprecated. You should use ssh instead. OpenSSH has OSS ssh clients and interface packages in Java. A look at them could save you quite a bit of time and effort.Hello,
I am working on a project which will execute a script from Applet on
remote host. The applet is displayed in Web interface.
Can any one guide me on the same?
Can we do rsh to remote host from applet?
Is calling from Applet the right way?
Please let me know if yu need more details?
Unsigned applets have a restriction that they can only communicate with the server they were downloaded from. I don't know the RSH protocol (I'm guessing it's plaintext, similar to the telnet protocol), but if you know it, then the simplest solution would be to host the Applet on the same server you wish to RSH into, and have your applet implement an RSH client and do whatever it is you want to do.
Note, in case you're unaware, that the RSH protocol is not a secure one (everything is sent unencrypted, from what I understand), and that any services that your applet can connect, end-users (and "hackers") can directly connect to as well.
http://www.openssh.com/java.html
--
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |
.
- Follow-Ups:
- Re: How to call rsh from Applet to remote host
- From: Ashutosh
- Re: How to call rsh from Applet to remote host
- From: Richard Maher
- Re: How to call rsh from Applet to remote host
- References:
- How to call rsh from Applet to remote host
- From: ashutosh . juneja
- Re: How to call rsh from Applet to remote host
- From: Oliver Wong
- How to call rsh from Applet to remote host
- Prev by Date: Re: How to run a Tomcat example
- Next by Date: Re: Design Question for Model and View
- Previous by thread: Re: How to call rsh from Applet to remote host
- Next by thread: Re: How to call rsh from Applet to remote host
- Index(es):
Relevant Pages
|