Re: fbsd backup 2 remote

2003-02-23 Thread dick hoogendijk
On 22 Feb Matthew Seaman wrote: Generate an ssh key in the usual way: # ssh-keygen -b 1024 -t rsa which will prompt you for a passphrase. Enter one. The command will create two files: id_rsa (the private key) and id_rsa.pub (the public key) Move 'id_rsa' in

Re: fbsd backup 2 remote

2003-02-23 Thread Matthew Seaman
On Sun, Feb 23, 2003 at 11:00:34AM +0100, dick hoogendijk wrote: On 22 Feb Matthew Seaman wrote: Generate an ssh key in the usual way: # ssh-keygen -b 1024 -t rsa which will prompt you for a passphrase. Enter one. The command will create two files: id_rsa (the private

Re: fbsd backup 2 remote

2003-02-23 Thread dick hoogendijk
On 22 Feb Matthew Seaman wrote: Start up the ssh-agent and load the key into it: # eval `ssh-agent` # ssh-add /user/.ssh/id_rsa When you're done, remember to shut down the ssh-agent: # eval `ssh-agent -k` Is this kind of a safety measure? Isn't it simpler to activate ssh-agent on

Re: fbsd backup 2 remote

2003-02-23 Thread Matthew Seaman
On Sun, Feb 23, 2003 at 06:27:55PM +0100, dick hoogendijk wrote: On 22 Feb Matthew Seaman wrote: Start up the ssh-agent and load the key into it: # eval `ssh-agent` # ssh-add /user/.ssh/id_rsa When you're done, remember to shut down the ssh-agent: # eval `ssh-agent -k` Is

Re: fbsd backup 2 remote

2003-02-23 Thread dick hoogendijk
On 23 Feb Matthew Seaman wrote: ssh-agent tends not to get killed when you log out. You can do that through your startup scripts (.login and .logout for tcsh, .bash_login and .bash_logout for bash etc.) Right. This works.. I use sh as my shell, so I put the startup in .profile, but where do I

fbsd backup 2 remote

2003-02-22 Thread Dick Hoogendijk
I want to make a *full* backup of my fbsd-4.7 to a (remote) HD on my local network. Should I share the (remote) directory through NFS or an alternate way. And most important: what program do I use. The remote is an ext3 linux drive. Can anyone point me in the right (syntax) direction? Should I

Re: fbsd backup 2 remote

2003-02-22 Thread dick hoogendijk
On 22 Feb Matthew Seaman wrote: # dump -0f - /usr | ssh linuxbox cat /foo/fbsd-usr.dump or # cd /home ; tar -jcvlf - . | ssh linuxbox cat /foo/fbsd-home.tar.bz2 Doing the restore is much the same thing in reverse: # cd /usr ; ssh linuxbox cat /foo/fbsd-usr.dump | restore -rf - or # cd

Re: fbsd backup 2 remote

2003-02-22 Thread dick hoogendijk
On 22 Feb Matthew Seaman wrote: # dump -0f - /usr | ssh linuxbox cat /foo/fbsd-usr.dump It seemed easy enough, but it wasn't. ssh linuxbox won't work because I need a password. Guess I have to alter things to have an automatic ssh session. Don't exactly know how :-(( -- dick --

Re: fbsd backup 2 remote

2003-02-22 Thread Matthew Seaman
On Sat, Feb 22, 2003 at 10:03:43PM +0100, dick hoogendijk wrote: On 22 Feb Matthew Seaman wrote: # dump -0f - /usr | ssh linuxbox cat /foo/fbsd-usr.dump It seemed easy enough, but it wasn't. ssh linuxbox won't work because I need a password. Guess I have to alter things to have an