Date: Wed, 09 May 2001 14:20:31 -0700 From: Blake Swensen <blake@pyramus.com> To: lucas@slb.to Cc: freebsd-questions@freebsd.org Subject: Re: automating dump | ssh Message-ID: <3AF9B49E.88DB0B84@pyramus.com> References: <3AF84756.109E378@pyramus.com> <20010508142937.B25810@billygoat.slb.to>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AF9B49E.88DB0B84>