Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 May 2001 14:29:37 -0500
From:      Lucas Bergman <lucas@slb.to>
To:        Blake Swensen <blake@pyramus.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: automating dump | ssh
Message-ID:  <20010508142937.B25810@billygoat.slb.to>
In-Reply-To: <3AF84756.109E378@pyramus.com>; from blake@pyramus.com on Tue, May 08, 2001 at 12:21:58PM -0700
References:  <3AF84756.109E378@pyramus.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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?20010508142937.B25810>