Skip to content

Connect to ssh using public/private key #14

@sushicodeur

Description

@sushicodeur

Hello,

I'm accessing my staging environment using public/private key authentication and an alias in my ~/.ssh/config file. Thus, accessing my staging server with ssh is only done like this :

ssh my-staging

I installed this plugin, it works in --dry-run mode, but in live mode, I'm asked for a password that is not my key passphrase.

It looks like the rsync command is issued like that :
rsync -avz -e 'ssh -p 22' @My-Staging:/path (etc)

I modified puller.php to add @ mark only if $ssh_user is set which works better with this setup. Before I submit a pull request, is there another way to handle this kind of ssh authentication that I haven't found yet ?

Btw, many thanks for this plugin that is exactly what I wanted to do :)

Alain

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions