how to use remsh to duplicate all...


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting how to use remsh to duplicate all...
# 1  
Old 01-14-2008
how to use remsh to duplicate all...

hi ,

Any idea how to use remsh to duplicate whatsoever ( / ) from host1 to host2 across network with root?

Regards,
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Remsh

Hello All, I am on HP-UX. Problem is that my remote script behaves different depending on execution method. Method1 (Remote execution): remsh remoteserver /home/myscript.sh Method2 (Local execution): remoteserver :/home#sh myscript.sh In method 2, I can succesfully set timestamp with... (6 Replies)
Discussion started by: mrcrowley
6 Replies

2. Shell Programming and Scripting

remsh problem !

hi all , i am using remsh utility from a host to another , i did create an .rhosts in it the name of the second server and the user to use in it , then i changed permission to 600 .. it is still asking for password and i am using this for no password between 2 trusted servers we got also this... (3 Replies)
Discussion started by: semaan
3 Replies

3. Shell Programming and Scripting

Find duplicate based on 'n' fields and mark the duplicate as 'D'

Hi, In a file, I have to mark duplicate records as 'D' and the latest record alone as 'C'. In the below file, I have to identify if duplicate records are there or not based on Man_ID, Man_DT, Ship_ID and I have to mark the record with latest Ship_DT as "C" and other as "D" (I have to create... (7 Replies)
Discussion started by: machomaddy
7 Replies

4. Shell Programming and Scripting

Remsh

Hi All, Im using remsh to execute shell script on remote server. And this script gets called from another AIX server. My code is: remsh $rHost -l $rUser -n "export JAVA_HOME=/usr/java6_64_SR7; export ORACLE_HOME=/oravl01/oracle/11.1.0.7; export... (3 Replies)
Discussion started by: AB10
3 Replies

5. UNIX for Dummies Questions & Answers

remsh options

Hi All, I want to know all the options that are used for command remsh. And also the prerequisites like entries in .rhosts file. Can anybody share the link or document? thanks. (1 Reply)
Discussion started by: AB10
1 Replies

6. HP-UX

HPUX + remsh

Hi, I can remsh from a HPUX to a UNIX however my function keys dont then work as they should ! Any suggestions ? - have tried creating .kshrc Thanks (2 Replies)
Discussion started by: belfastbelle
2 Replies

7. HP-UX

remsh + HPUX

Hi, I am trying to remsh from a HPUX to another unix server What is happening is I cant run commands on the other server ie I can remsh <remoteserver> -l <remotelogin> but I cant remsh <remoteserver> -l <remotelogin> -n pwd getting error message rshd: 0826-826 The host name for... (3 Replies)
Discussion started by: belfastbelle
3 Replies

8. UNIX for Advanced & Expert Users

remsh problem

Hi All, We have 2 unix boxes HP UX. From Box1 we need to run a script on Box2 using remsh. The job at Box2 exits with status 0 on successful completion & 1 if fails. But even if the scrips fails (exits with return status 1) at Box2, the $? get the value 0. script at Box2 : remote_script.sh... (2 Replies)
Discussion started by: sabyasm
2 Replies

9. UNIX for Dummies Questions & Answers

remsh

i m try to do remsh i need to know what are the step to define the user and password i try .rhosts it give me operator:/export/home/operator>remsh billmed ps -ef permission denied just for testing (3 Replies)
Discussion started by: kazanoova2
3 Replies

10. UNIX for Dummies Questions & Answers

remsh and nohup

I'm trying to nohup a job that executes a remote shell on another host but it breaks as soon as I launch it, and I get the following back to my terminal. + Stopped (tty input) nohup remsh target_host -l user "ls /proj" This is the command I'm running. nohup remsh target_host -l user "ls... (2 Replies)
Discussion started by: tavaresd
2 Replies
Login or Register to Ask a Question
Smokeping_probes_IOSPing(3)					     SmokePing					       Smokeping_probes_IOSPing(3)

NAME
Smokeping::probes::IOSPing - Cisco IOS Probe for SmokePing SYNOPSIS
*** Probes *** +IOSPing binary = /usr/bin/rsh # mandatory forks = 5 offset = 50% packetsize = 56 step = 300 timeout = 15 # The following variables can be overridden in each target section ioshost = my.cisco.router # mandatory iosint = Ethernet 1/0 iosuser = admin pings = 5 # [...] *** Targets *** probe = IOSPing # if this should be the default probe # [...] + mytarget # probe = IOSPing # if the default probe is something else host = my.host ioshost = my.cisco.router # mandatory iosint = Ethernet 1/0 iosuser = admin pings = 5 DESCRIPTION
Integrates Cisco IOS as a probe into smokeping. Uses the rsh / remsh protocol to run a ping from an IOS device. VARIABLES
Supported probe-specific variables: binary The binary option specifies the path of the binary to be used to connect to the IOS device. Commonly used binaries are /usr/bin/rsh and /usr/bin/remsh, although any script or binary should work if can be called as /path/to/binary [ -l user ] router ping to produce the IOS ping dialog on stdin & stdout. Example value: /usr/bin/rsh This setting is mandatory. forks Run this many concurrent processes at maximum Example value: 5 Default value: 5 offset If you run many probes concurrently you may want to prevent them from hitting your network all at the same time. Using the probe- specific offset parameter you can change the point in time when each probe will be run. Offset is specified in % of total interval, or alternatively as 'random', and the offset from the 'General' section is used if nothing is specified here. Note that this does NOT influence the rrds itself, it is just a matter of when data acqusition is initiated. (This variable is only applicable if the variable 'concurrentprobes' is set in the 'General' section.) Example value: 50% packetsize The (optional) packetsize option lets you configure the packetsize for the pings sent. Default value: 56 step Duration of the base interval that this probe should use, if different from the one specified in the 'Database' section. Note that the step in the RRD files is fixed when they are originally generated, and if you change the step parameter afterwards, you'll have to delete the old RRD files or somehow convert them. (This variable is only applicable if the variable 'concurrentprobes' is set in the 'General' section.) Example value: 300 timeout How long a single 'ping' takes at maximum Example value: 15 Default value: 5 Supported target-specific variables: ioshost The ioshost option specifies the IOS device which should be used for the ping. Example value: my.cisco.router This setting is mandatory. iosint The (optional) iosint option allows you to specify the source address or interface in the IOS device. The value should be an IP address or an interface name such as "Ethernet 1/0". If this option is omitted, the IOS device will pick the IP address of the outbound interface to use. Example value: Ethernet 1/0 iosuser The (optional) iosuser option allows you to specify the remote username the IOS device. If this option is omitted, the username defaults to the default user used by the remsh command (usually the user running the remsh command, ie the user running SmokePing). Example value: admin pings How many pings should be sent to each target, if different from the global value specified in the Database section. Note that the number of pings in the RRD files is fixed when they are originally generated, and if you change this parameter afterwards, you'll have to delete the old RRD files or somehow convert them. Example value: 5 AUTHORS
Paul J Murphy <paul@murph.org> based on Smokeping::probes::FPing by Tobias Oetiker <tobi@oetiker.ch> NOTES
IOS Configuration The IOS device must have rsh enabled and an appropriate trust defined, eg: ! ip rcmd rsh-enable ip rcmd remote-host smoke 192.168.1.2 smoke enable ! Some IOS devices have a maximum of 5 VTYs available, so be careful not to hit a limit with the 'forks' variable. Password authentication It is not possible to use password authentication with rsh or remsh due to fundamental limitations of the protocol. Ping packet size The FPing manpage has the following to say on the topic of ping packet size: Number of bytes of ping data to send. The minimum size (normally 12) allows room for the data that fping needs to do its work (sequence number, timestamp). The reported received data size includes the IP header (normally 20 bytes) and ICMP header (8 bytes), so the minimum total size is 40 bytes. Default is 56, as in ping. Maximum is the theoretical maximum IP datagram size (64K), though most systems limit this to a smaller, system-dependent number. 2.6.8 2013-03-17 Smokeping_probes_IOSPing(3)