Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re: moving files via ssh

by Anonymous Monk
on May 13, 2003 at 13:25 UTC ( [id://257718]=note: print w/replies, xml ) Need Help??


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 (Archbishop) 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://257718]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-03-29 10:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found