Re: How to call rsh from Applet to remote host



Hi Martin,

Thanks for the info.

I am checking the link you provided. I will appreciate if you can
provide more info in this.
Can we use SSH in java applet to execute scripts on remote machines?

Regards
Ashutosh
On May 31, 2:53 am, Martin Gregorie <mar...@xxxxxxxxxxxxxxxxxxx>
wrote:
Oliver Wong wrote:
<ashutosh.jun...@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 |- Hide quoted text -

- Show quoted text -


.



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? ... 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
    ... 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
    ... 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)
  • 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)
  • New Infosec / Cybercop Website up!
    ... This website is the new home for cybercopmail.com! ... Web Based SSH Tools - I have included a Java Applet based SSH ... remote vnc client through an SSH connection. ...
    (comp.security.unix)