Re: How to call rsh from Applet to remote host
- From: "Richard Maher" <maher_rj@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 31 May 2007 07:52:36 +0800
Hi Martin,
rsh is now deprecated.
Is there a reference for this decree anywhere?
Cheers Richard Maher
"Martin Gregorie" <martin@xxxxxxxxxxxxxxxxxxx> wrote in message
news:ic81j4-pbo.ln1@xxxxxxxxxxxxxxxxxxxxx
Oliver Wong wrote:you
<ashutosh.juneja@xxxxxxxxx> wrote in message
news:1180542387.831120.23010@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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
anyknow 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
services that your applet can connect, end-users (and "hackers") canThat's correct - everything is sent as plaintext including passwords.
directly connect to as well.
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.
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: Martin Gregorie
- 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
- Re: How to call rsh from Applet to remote host
- From: Martin Gregorie
- How to call rsh from Applet to remote host
- Prev by Date: betwixt list xml to bean problem, please help
- Next by Date: Re: How to call rsh from Applet to remote host
- 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
|