[prev in list] [next in list] [prev in thread] [next in thread] 

List:       secure-shell
Subject:    Re: command="" and Ufsdump
From:       Jim LaTourrette <jlatourr () optonline ! net>
Date:       2002-09-27 4:12:43
[Download RAW message or body]

In my experience you need to ssh back and use keychain to facilitate 
passwordless ssh:
 i.e., in both examples, replace the right-hand side of the pipe with:
 | ssh machA '/bin/dd obs=63k of=/dev/rmt/1ln'"
i.e., try:

1. command="/usr/sbin/ufsdump 0fb - 126 df -k|grep '^/dev/dsk/'\
|awk '{print $6}' | ssh machA '/bin/dd obs=63k of=/dev/rmt/1ln'"

2. command="/usr/sbin/ufsdump 0fb - 126 / \
 | ssh machA '/bin/dd of=/dev/rmt/1ln obs=63k'"

-- Jim LaTourrette


rmckeever wrote:

>Hello,
>
>Machine A has tape drive; Machine B is the system Im backing up.
>
>I would like to be able to use the command="" in the Auth_keyts file. 
>
>So when I ssh from machA to machB I want the ufsdump to fire off from the
>command="" on the machB auth_keys file and backup to the tape on machA. But it
>seems I have to ssh back to machA do get this to work? 
>
>examples of command="":
>
>1. command="/usr/sbin/ufsdump 0fb - 126 df -k|grep "^/dev/dsk/"|awk '{print
>$6}' | /bin/dd obs=63k of=/dev/rmt/1ln"
>
>2. command="/usr/sbin/ufsdump 0fb - 126 / | /bin/dd of=/dev/rmt/1ln obs=63k"
>
>Any Ideas or suggestions? Thanks upfront...
>
>Rob
>  
>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic