From owner-freebsd-questions Wed May 9 14:19:41 2001 Delivered-To: freebsd-questions@freebsd.org Received: from stella.pyramus.com (stella.pyramus.com [206.129.206.3]) by hub.freebsd.org (Postfix) with ESMTP id E068737B423 for ; Wed, 9 May 2001 14:19:35 -0700 (PDT) (envelope-from blake@pyramus.com) Received: from pyramus.com (dark-star.pyramus.com [206.129.206.6]) by stella.pyramus.com (8.9.3/8.9.3) with ESMTP id OAA91744; Wed, 9 May 2001 14:21:51 -0700 (PDT) (envelope-from blake@pyramus.com) Message-ID: <3AF9B49E.88DB0B84@pyramus.com> Date: Wed, 09 May 2001 14:20:31 -0700 From: Blake Swensen X-Mailer: Mozilla 4.74 [en]C-DIAL (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: lucas@slb.to Cc: freebsd-questions@freebsd.org Subject: Re: automating dump | ssh References: <3AF84756.109E378@pyramus.com> <20010508142937.B25810@billygoat.slb.to> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Yeah... That's the same thing that I thought. After generating the keys, placing them in the appropriate directories on both systems, and setting the appropriate flags in ssh2_config... The manual says (please note the big "not yet implemented" notes!): PasswordAuthentication Specifies whether to use password authentication. The argument must be "yes" or "no". (not yet implemented) RHostsAuthentication Specifies whether to try rhosts based authentica- tion. Note that this declaration only affects the client side and has no effect whatsoever on secu- rity. Disabling rhosts authentication may reduce authentication time on slow connections when rhosts authentication is not used. Most servers do not permit RhostsAuthentication because it is not secure (see RhostsRSAAuthentication). The argument must be "yes" or "no". (not yet implemented) FreeBSD 4.0-RELEASE SSH Version OpenSSH-1.2.2, protocol version 1.5. Compiled with SSL. Any other ideas? Peace, Blake Lucas Bergman wrote: > > Anyone know how to supply the password to ssh in order to automate > > x-network dump? > > > > Like > > dump -0af - /filesystem | ssh -f another-machine "cat > > > /path/to/dump/file" < password_file > > > > which doesn't work, btw, but you get the idea. > > Set up ssh so you don't need a password: > > man ssh-keygen > man ssh > > Lucas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message