Re: How to call rsh from Applet to remote host



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:
<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
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.

That'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.

http://www.openssh.com/java.html


--
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |


.



Relevant Pages

  • Re: How to call rsh from Applet to remote host
    ... The applet is displayed in Web interface. ... Can we do rsh to remote host from applet? ... I don't know the RSH 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. ...
    (comp.lang.java.programmer)
  • Re: How to call rsh from Applet to remote host
    ... The applet is displayed in Web interface. ... Can we do rsh to remote host from applet? ... Note, in case you're unaware, that the RSH protocol is not a secure ...
    (comp.lang.java.programmer)
  • Re: How to call rsh from Applet to remote host
    ... I want to use this applet in Intranet i.e within my office network. ... Can we do rsh to remote host from applet? ...
    (comp.lang.java.programmer)
  • Re: How to call rsh from Applet to remote host
    ... Can we use SSH in java applet to execute scripts on remote machines? ... Can we do rsh to remote host from applet? ...
    (comp.lang.java.programmer)
  • Re: How to call rsh from Applet to remote host
    ... services that your applet can connect, end-users (and "hackers") can ... I am working on a project which will execute a script from Applet on ... Can we do rsh to remote host from applet? ...
    (comp.lang.java.programmer)