Amanda-Users

Re: amrecover using invalid ssh options on Solaris?

2007-04-06 23:42:26
Subject: Re: amrecover using invalid ssh options on Solaris?
From: dustin AT zmanda DOT com
To: AMANDA users <amanda-users AT amanda DOT org>
Date: Fri, 6 Apr 2007 22:36:07 -0500
On Fri, Apr 06, 2007 at 05:29:57PM -0400, Chris Hoogendyk wrote:
> Believe it or not, that worked. I spent some time reading the man pages on 
> both the Solaris and OpenBSD systems to see what that option did and what 
> would happen without it on 
> Solaris. With SSH 2 the publickey method is tried first, so that, along with 
> the Batch option (which was already in the code) worked. I found:
> 
>    /*
>     * Arguments to ssh.  This should also be configurable
>     */
>    #define SSH_ARGS        "-x", "-o", "BatchMode=yes", "-o", 
> "PreferredAuthentications=publickey"
> 
> and just removed the last option and did a `make && make install`.
> 
> I actually had to play a little with the restrictions on the authorized_keys 
> file (I'm not sure yet what the problem was there), but I was able to run 
> amrecover, do listhosts, 
> sethost, listdisks, setdisk, and history. I didn't want to actually recover 
> any files, because it is the end of the day Friday and I didn't want to be 
> shuffling tapes. So I'll have 
> to do a more thorough test on Monday.

Oops, sorry for the premature reply to the earlier message.  Consider
the above duly noted.  Thanks!

Dustin

-- 
        Dustin J. Mitchell
        Storage Software Engineer, Zmanda, Inc.
        http://www.zmanda.com/