04-07-2010
See if rsh will work from server 1 to server 2
rsh -l validuserid_on_server2 server2 some-command
example: rsh -l enkei17 server2 uptime
If that doesn't work, you may have a problem with the set up of your /.rhost file on the servers or /etc/host.equiv and/or /etc/host.allow.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I want to try using Ufsdump for backups .
The man pages state that the file systems should be inactive or be in the unmounted state .
But for that system should be in single User mode.
My query is that can we perform Ufsdump in run-level 3 ?
And if no should I have to reboot it in Single user... (3 Replies)
Discussion started by: DPAI
3 Replies
2. UNIX for Dummies Questions & Answers
hi
i would like to backup my OS
what is the exact command to do?
beside backup to tapes can i back up to a directory in another server?
will the command be the same?
thanks. :confused: (4 Replies)
Discussion started by: legato
4 Replies
3. UNIX for Advanced & Expert Users
Hi,
I have two solaris 9 boxes:
SunOS bmsapp01 5.9 Generic_118558-06 sun4u sparc SUNW,Sun-Fire-V440
and
SunOS bmsdb01 5.9 Generic_118558-06 sun4u sparc SUNW,Sun-Fire-V440.
The bmsapp01 server has a SDLT tape drive attached to it. I am trying to perform a remote ufsdump to the tape drive on... (5 Replies)
Discussion started by: jabberwocky
5 Replies
4. Solaris
Hi,
I want to how to take backup of File system From Disk to Disk using ufsdump?
Wheather we can take the backup of root file system from one disk to another if tape drive is not available? wheather it is reliable to restore root file system? (2 Replies)
Discussion started by: manoj.solaris
2 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I have 5 soraris boxes and i am trying to backup all to SAN.Which backup is more suitable tar or ufsdump? Also pls mention what are the important folders i need to back up.
Thanks (3 Replies)
Discussion started by: solaris5.10
3 Replies
6. Solaris
Hello,
how can I use ufsdump utility for filesystem backup to a remote directory on a server dedicated for backups ( over network) ?? (3 Replies)
Discussion started by: mm00123
3 Replies
7. Solaris
Hi Unix members.
I am trying to make a backup to remote mounted filesystems :
fileraseing:/vol/oracliente_revap01
10G 1.3G 8.7G 13% /orarev_ap01
fileraseing:/vol/bobje
10G 5.9G 4.1G 60% /bobje
But I am receiving the follow message when use the ufsdump command:
:$PWD>ufsdump 0fu... (8 Replies)
Discussion started by: aggadtech08
8 Replies
8. Solaris
Is there a way to backup a single directory with ufsdump, or is tar better for that? (1 Reply)
Discussion started by: orange47
1 Replies
9. Solaris
Experts,
Before patching am advised to take backup :
so am going with:
ufsdump -0uf /dev/rmt0 / ---> to take the whole / bkp to tape.
some servers have /var in diff slice, In this case whether i need to take backup of /var also in tape?
ufsdump -ouf /dev/rmt0 /var ---> to take... (3 Replies)
Discussion started by: fizan
3 Replies
10. Solaris
Hi all,
I have a Solaris 10 running on a M4000.
I wanted to migrate it to M10
q1) can I do a ufsdump on / in the m4000 and restore it on the m10 ?
q2) how do we ufsrestore on the naked M10 without any OS being install/running in the 1st place ?
q3) if the answer to the... (5 Replies)
Discussion started by: javanoob
5 Replies
RSH(1) BSD General Commands Manual RSH(1)
NAME
rsh -- remote shell
SYNOPSIS
rsh [-46dn] [-l username] [-t timeout] host [command]
DESCRIPTION
The rsh utility executes command on host.
The rsh utility copies its standard input to the remote command, the standard output of the remote command to its standard output, and the
standard error of the remote command to its standard error. Interrupt, quit and terminate signals are propagated to the remote command; rsh
normally terminates when the remote command does. The options are as follows:
-4 Use IPv4 addresses only.
-6 Use IPv6 addresses only.
-d Turn on socket debugging (using setsockopt(2)) on the TCP sockets used for communication with the remote host.
-l username
Allow the remote username to be specified. By default, the remote username is the same as the local username. Authorization is deter-
mined as in rlogin(1).
-n Redirect input from the special device /dev/null (see the BUGS section of this manual page).
-t timeout
Allow a timeout to be specified (in seconds). If no data is sent or received in this time, rsh will exit.
If no command is specified, you will be logged in on the remote host using rlogin(1).
Shell metacharacters which are not quoted are interpreted on local machine, while quoted metacharacters are interpreted on the remote
machine. For example, the command
rsh otherhost cat remotefile >> localfile
appends the remote file remotefile to the local file localfile, while
rsh otherhost cat remotefile ">>" other_remotefile
appends remotefile to other_remotefile.
FILES
/etc/hosts
/etc/auth.conf
SEE ALSO
rlogin(1), setsockopt(2), rcmd(3), ruserok(3), auth.conf(5), hosts(5), hosts.equiv(5), rlogind(8), rshd(8)
HISTORY
The rsh command appeared in 4.2BSD.
BUGS
If you are using csh(1) and put a rsh in the background without redirecting its input away from the terminal, it will block even if no reads
are posted by the remote command. If no input is desired you should redirect the input of rsh to /dev/null using the -n option.
You cannot run an interactive command (like ee(1) or vi(1)) using rsh; use rlogin(1) instead.
Stop signals stop the local rsh process only; this is arguably wrong, but currently hard to fix for reasons too complicated to explain here.
BSD
October 16, 2002 BSD