12-09-2009
Answer: Use Remote Shell.
The name of the command is not the same on every version of unix. Mostly it's called "remsh" (Remote Shell) but I have seen is called "rsh" (which nowadays the name for the Restricted Shell).
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I would like to run a process in my gentoo machine from a consolte (putty) in
Windows and would like that this process keep on going when I close the console in Windows (i.e closing this session).
The process should take a long time and I do not want to leave the Windows machine running... (3 Replies)
Discussion started by: pbasil
3 Replies
2. Shell Programming and Scripting
hi unix guru's
i am new to unix shell programming.
i found a trouble in executing a script(bali.ksh) which is available on serverA with username xyza, this script contains sqlplus command to retrive the data from the database available on other serverC.
Now i need to run the above script... (4 Replies)
Discussion started by: balireddy_77
4 Replies
3. Solaris
Hi,
I am trying the following-
1. ftp a file from machine1 to machine2.
2. Once the ftp is done, from machine1 invoke a shell script on machine2.
Could anyone please help me on this? (5 Replies)
Discussion started by: sam_roy
5 Replies
4. UNIX for Advanced & Expert Users
if i have a script in my system which i need to run on remote system using ssh, how shall i do it?
One easy way to to first scp it to remote machine and then run it on remote machine using ssh.
Is there any one step way to do it. Preferably one in which i should give password only once (3 Replies)
Discussion started by: vickylife
3 Replies
5. Shell Programming and Scripting
Hi there
I have a script which is running a remote command on hundreds of boxes, it takes around 5 minutes to return an output from this command and because i am running this all from a central box, it goes off to each box in my for loop sequentially meaning that my script will wait for output... (5 Replies)
Discussion started by: hcclnoodles
5 Replies
6. Shell Programming and Scripting
Hi ,
How to check whether web server is running from remote machine
How to check whether web server is running on web server itself
Can any one help me soon (1 Reply)
Discussion started by: satheeshkr_cse
1 Replies
7. Shell Programming and Scripting
I am trying to run the follow command. I am running this from a korn shell script.
rsh foobar ps -fu dram | grep sshd: | grep -v grep | awk '{print $2}' | xargs -I xx kill xx
I get the PID back excluding the xargs part but after adding on the xargs part it fails to locate the PID and is... (2 Replies)
Discussion started by: juredd1
2 Replies
8. Shell Programming and Scripting
Hi,
I have an shell script program in a remote linux machine which will do some specific monitoring functionality. Also, have some C executables in that machine.
From a windows machine, I want to run the shell script program (If possible using java).
I tried with SSH for this. but, in... (1 Reply)
Discussion started by: ram.sj
1 Replies
9. OS X (Apple)
I'm in a situation where I am executing a shell script(Bash) on another machine remotely using ssh, and for various reasons sometimes need to quit it and restart it. The shell script being run does many different things, so its hard to know what process to kill on the remote machine, and even if I... (2 Replies)
Discussion started by: TheDrizzle
2 Replies
10. Shell Programming and Scripting
Hi,
I'm using expect to ssh into remote machine (i know its not the best practice), and run script "script.sh".
This "script.sh" checks whether an other process (some another script) is running and if not, it runs it as some other user.
#!/bin/bash
/usr/bin/expect << EOD
set... (5 Replies)
Discussion started by: oseri
5 Replies
LEARN ABOUT SUSE
cpanplus::shell::default::plugins::remote
CPANPLUS::Shell::Default::Plugins::Remote(3pm) Perl Programmers Reference Guide CPANPLUS::Shell::Default::Plugins::Remote(3pm)
NAME
CPANPLUS::Shell::Default::Plugins::Remote
SYNOPSIS
CPAN Terminal> /connect localhost 1337 --user=foo --pass=bar
...
CPAN Terminal@localhost> /disconnect
DESCRIPTION
This is a "CPANPLUS::Shell::Default" plugin that allows you to connect to a machine running an instance of "CPANPLUS::Daemon", allowing
remote usage of the "CPANPLUS Shell".
A sample session, updating all modules on a remote machine, might look like this:
CPAN Terminal> /connect --user=my_user --pass=secret localhost 1337
Connection accepted
Successfully connected to 'localhost' on port '11337'
Note that no output will appear until a command has completed
-- this may take a while
CPAN Terminal@localhost> o; i *
[....]
CPAN Terminal@localhost> /disconnect
CPAN Terminal>
BUG REPORTS
Please report bugs or other issues to <bug-cpanplus@rt.cpan.org<gt>.
AUTHOR
This module by Jos Boumans <kane@cpan.org>.
COPYRIGHT
The CPAN++ interface (of which this module is a part of) is copyright (c) 2001 - 2007, Jos Boumans <kane@cpan.org>. All rights reserved.
This library is free software; you may redistribute and/or modify it under the same terms as Perl itself.
SEE ALSO
CPANPLUS::Shell::Default, CPANPLUS::Shell, cpanp
perl v5.12.1 2010-04-26 CPANPLUS::Shell::Default::Plugins::Remote(3pm)