Unix administration - rsh remote to execute an applicaion

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > October 2005 > rsh remote to execute an applicaion





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author rsh remote to execute an applicaion
blackdog

2005-10-29, 5:51 pm

Hi

I need to remote rsh to a remote system and need to
set multiple environments then execute the application, because the
application require the environments. The environments setup is
written in a shell script and also I need to set DISPLAY, in order
to open the application windows.
What should I do?

I can rsh to remote system to execute a single application, but not
multiple setup and executions.

Thanks

mnikhil@gmail.com

2005-10-29, 5:51 pm

how about a 'env' command ?

Regards.

Bill Marcum

2005-10-29, 5:51 pm

["Followup-To:" header set to comp.unix.admin.]
On 29 Oct 2005 06:26:11 -0700, blackdog
<cljlk@hotmail.com> wrote:
> Hi
>
> I need to remote rsh to a remote system and need to
> set multiple environments then execute the application, because the
> application require the environments. The environments setup is
> written in a shell script and also I need to set DISPLAY, in order
> to open the application windows.
> What should I do?
>

Use ssh with X forwarding, unless the remote system is a prehistoric
Unix without ssh and without a C compiler, or your pointy-headed boss
doesn't allow it.


--
Fear and loathing, my man, fear and loathing.
-- H.S. Thompson
Nikhil

2005-10-29, 5:51 pm

Bill Marcum wrote:
> ["Followup-To:" header set to comp.unix.admin.]
> On 29 Oct 2005 06:26:11 -0700, blackdog
> <cljlk@hotmail.com> wrote:
>
>
> Use ssh with X forwarding, unless the remote system is a prehistoric
> Unix without ssh and without a C compiler, or your pointy-headed boss
> doesn't allow it.
>
>

Bill.. but, I think using ssh with X-forwarding is not secure
enough...please point me to the correct links ..if that is not true.

Thanks,
Nikhil
Bill Marcum

2005-10-29, 5:51 pm

On Sat, 29 Oct 2005 20:20:00 +0530, Nikhil
<mnikhil@me.com> wrote:
> Bill Marcum wrote:
> Bill.. but, I think using ssh with X-forwarding is not secure
> enough...please point me to the correct links ..if that is not true.
>

Why do you think ssh is not as secure as rsh?


--
Barth's Distinction:
There are two types of people: those who divide people into two
types, and those who don't.
Tim Skirvin

2005-10-29, 5:51 pm

Nikhil <mnikhil@me.com> writes:


Write a shell script that sets the appropriate environment
variables and then invokes the command you want. Invoke this script with
'ssh -X hostname /path/to/script'.
[vbcol=seagreen]
>Bill.. but, I think using ssh with X-forwarding is not secure
>enough...please point me to the correct links ..if that is not true.


I can't think of a single way that ssh is less secure than rsh.

- Tim Skirvin (tskirvin@killfile.org)
--
http://www.killfile.org/~tskirvin/ Skirv's Homepage <FISH>< <*>
http://news.ks.uiuc.edu/ UIUC News Server
Dave Hinz

2005-10-29, 5:51 pm

On Sat, 29 Oct 2005 20:20:00 +0530, Nikhil <mnikhil@me.com> wrote:
> Bill Marcum wrote:


[vbcol=seagreen]
> Bill.. but, I think using ssh with X-forwarding is not secure
> enough...please point me to the correct links ..if that is not true.


'r' commands transmit everything in the clear. X over ssh is as secure
as every other ssh transaction, and is secure enough for financial
transactions over the public internet.

Dave Hinz


Dave Hinz

2005-10-29, 5:51 pm

On Sat, 29 Oct 2005 20:59:57 +0530, Nikhil <mnikhil@me.com> wrote:
>
> but I guess SSH with X-forwarding is not good enough..in security terms.


I know of no vulnerabilities, ever, involving X forwarding over ssh.

Barry Margolin

2005-10-31, 2:49 am

In article <43639575.2000902@me.com>, Nikhil <mnikhil@me.com> wrote:

> Bill Marcum wrote:
>
> but I guess SSH with X-forwarding is not good enough..in security terms.


It doesn't seem like it could be less secure than unencrypted rsh
combined with unencrypted X.

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com