Create a file named config in the .ssh directory of the user's
directory with contents similar to this:
Host your.remote.host.com
User the.user.that will.execute.the.remote.commands
IdentityFile ~/.ssh/the.private.passwordless.key.of.that.user
Give the config file the right permisssions:
chmod 644 ~/.ssh/config
On Apr 29, 9:38 am, Chuck <[EMAIL PROTECTED]> wrote:
> How do I go about doing that? I'll do a google search, but any
> direction here would help.
>
> On Apr 28, 6:03 pm, manolo <[EMAIL PROTECTED]> wrote:
>
> > Have you tried using a ~/.ssh/config file to associate the user, the
> > host and the private key?
>
> > On Apr 28, 4:55 pm, Chuck <[EMAIL PROTECTED]> wrote:
>
> > > I'm trying to set up a deployment script that will run on a regular
> > > basis, but it continuously prompts me for a password.
>
> > > I set up a public/private key and can now log into the machines i'm
> > > deploying to from my deployment machine without a password, but cannot
> > > for the life of me figure out how to get capistrano to drop the
> > > password prompt.
>
> > > Any ideas/input?
>
>
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---