Keep ssh-agent running on remote machine



What is the canonical way to keep a ssh-agent running on a remote
machine? This agent has to be given a passphrase to be started.

I want to run rsnapshot backups across two remote machines. The one
running rsnapshot will need the agent running to avoid needing manual
intervention for passwd.

Of course starting the agent needs a passphrase too so how to automate
that?


.



Relevant Pages

  • Re: Problems with OpenSSH 3.7.1p1 and ssh-agent
    ... I can start the agent, ... but when it comes to actually connecting to a remote system ... > 3.7.1 test box, without entering the passphrase. ... key" prompt once or twice and if I just hit return, ...
    (comp.security.ssh)
  • Re: Apache Software Foundation Server compromised, resecured. (fwd)
    ... if you ssh to the untrusted box, have your .ssh/identity there (no good ... > You misunderstand what agent forwarding is. ... Agent forwarding means that remote requests ...
    (FreeBSD-Security)
  • Re: configuring ssh-agent to automate passphrase for the key
    ... The passphrase is a must for our requirement. ... when captured in a shell $construct and passed to the shell "eval" ... with the background agent. ... only to stop a running agent, via the command ...
    (comp.security.ssh)
  • Re: ssh without entering password/passphrase
    ... I created private and public key pairs in my local host ... > this point when I try to ssh, it asks for my passphrase and I can log ... "Could not open connection to your authentication agent". ... What you are missing is that just having ssh-agent run is not enough. ...
    (comp.os.linux.misc)
  • Re: SQL Crashing Sporaticitaclly
    ... - Have you tried enabling one Subscriber at a time (Activate Sql Server ... Agent at remote, then Start synchronizing)? ... stop all the SQL Servrer Agents at all the remote loations, ...
    (microsoft.public.sqlserver.replication)