rsh remote to execute an applicaion

  • Follow


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

0
Reply cljlk (69) 10/29/2005 1:26:11 PM

how about a 'env'  command ?

Regards.

0
Reply mnikhil 10/29/2005 2:12:56 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
0
Reply Bill 10/29/2005 2:37:06 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:
> 
>>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.
> 
> 
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
0
Reply Nikhil 10/29/2005 2:50:00 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:
> 
>>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.
> 
> 

but I guess SSH with X-forwarding is not good enough..in security terms.

Thanks,
Nikhil
0
Reply Nikhil 10/29/2005 3:29:57 PM

On Sat, 29 Oct 2005 20:20:00 +0530, Nikhil 
  <mnikhil@me.com> wrote:
> Bill Marcum wrote:
>> ["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.
>> 
>> 
> 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.
0
Reply Bill 10/29/2005 4:23:49 PM

Nikhil <mnikhil@me.com> writes:

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

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

>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
0
Reply tskirvin 10/29/2005 4:47:14 PM

On Sat, 29 Oct 2005 20:20:00 +0530, Nikhil <mnikhil@me.com> wrote:
> Bill Marcum 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.

'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


0
Reply Dave 10/29/2005 4:55:08 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.

0
Reply Dave 10/29/2005 4:56:00 PM

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

> Bill Marcum wrote:
> > ["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.
> > 
> > 
> 
> 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 ***
0
Reply Barry 10/31/2005 6:27:50 AM

9 Replies
157 Views

(page loaded in 0.1 seconds)

Similiar Articles:













7/15/2012 5:02:29 AM


Reply: