in reply to Re: moving files via ssh
in thread moving files via ssh

Cheers. How does the key thing happen automaticaly? i have a key file for the machine, do i need to copy this to any specific directory? i realy want this copy to run overnight (non-interactivly), so i don't want it asking for passwords or locations of key files.

Replies are listed 'Best First'.
Re: Re: Re: moving files via ssh
by zentara (Cardinal) on May 13, 2003 at 16:00 UTC
    Simple summary:

    challenge-response authentication. Generate your ssh-keys with <ssh-keygen -d> for ssh2. You will have the files $HOME/.ssh/id_dsa.pub and $HOME/.ssh/id_dsa. The id_dsa.pub - file is your public key. Copy that file to the target + to $HOME/.ssh/machinename.pub and do a "cd .ssh; cat machinename.pub >>authorized_keys". Now you should be able to connect to the target machine via ssh without using passwords.
Re: Re: Re: moving files via ssh
by zby (Vicar) on May 13, 2003 at 13:59 UTC
    On a unix box you achive this by the cron daemon. The documentation how to use it you can find with: man crontab.