Sami Lehtinen wrote:

> 
> Please do remember that passphraseless private keys are not a good
> idea, in general.
> 
> I recommend that you take the time to study the documentation of
> ssh-agent and ssh-add. This way, even if you private key has a
> passphrase, you can log into remote machines with publickey
> authentication without entering your passphrase every time. You give
> it once at the start of your X-session, and then the agent handles the
> authentication for you. Even if you don't use X, you can use it. It
> won't be as easy as with X, but more secure nevertheless.
> 

But in case I want to run a shell script inside a crontab at night, 
what's the best way to use ssh to this ??

-walcir

Reply via email to