Using ssh to do remote tape backup
807559Jan 21 2004 — edited Jan 22 2004I tried to setup a remote tape backup from ServerA to ServerB. The Tape drive is attached to ServerB. I had looked up some document how to setup "no password" login for root using ssh. Both servers had exchange their root public key.
When I tried the command "ssh ServerA ls" from ServerB, it showed me the ls of the "/". I was also able to do the same thing from ServerA.
However, it gave me access deny when I tried to do the following backup command from ServerA
ssh ServerB "/usr/sbin/ufsdump 0uf ServerB:/dev/rmt/0un /dev/rdsk/c0d0t0s0"
Can someone tell me what I had missed in setup the ssh, or is there any problem in the backup command. In my mind I just treated the ssh as rsh when I issued the backup command.
Thanks in advance.