Skip to content

[Feature] Agent Forwarding #23

@mrrooijen

Description

@mrrooijen

Hi Nadarei,

Agent Forwarding is probably one of the more appealing features of Capistrano. With this option enabled, you won't get this error because it allows you to use your local ssh keys. Normally, like in this case, you have to log in to your server, generate a new SSH key and apply that SSH key to for example Github. Then, this command would work. However with Agent Forwarding you do not need to do that and you can simply use your own local machine's SSH key instead.

-----> Cloning the Git repository
       Initialized empty Git repository in /home/deployer/app/tmp/build-1340639447120/.git/
       Host key verification failed.
       fatal: The remote end hung up unexpectedly

See:

If you're using your own private keys for git, you want to tell Capistrano to use agent forwarding with this command. Agent forwarding can make key management much simpler as it uses your local keys instead of keys installed on the server.

ssh_options[:forward_agent] = true # in Capistrano

It would be great if Mina could also support this feature as it's always pain to add a new key to GitHub for every single server you want to hook up to it.

Note that I looked around and didn't find the option, but if I overlooked something please let me know.

Cheers,
Michael

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions