Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decouple SSH forwarding and authentication type #1023

Closed
msbit opened this issue Feb 17, 2017 · 3 comments
Closed

Decouple SSH forwarding and authentication type #1023

msbit opened this issue Feb 17, 2017 · 3 comments
Assignees
Labels

Comments

@msbit
Copy link

msbit commented Feb 17, 2017

Q A
Issue Type Feature Request
Deployer Version v4.2.1
Local Machine OS macOS 10.12.3
Remote Machine OS Ubuntu 16.04.2 LTS

I have a situation where I am deploying to a server that I authenticate with via PEM file, but the repository is accessed via a different SSH key. It would be nice to decouple the authentication method from the forwarding setting, right now calling:

server(...)
  ->pemFile(...)
  ->forwardAgent()

would result in the PEM file being ignored, and:

server(...)
  ->forwardAgent()
  ->pemFile(...)

would result in forwarding not being enabled.

@antonmedv
Copy link
Member

Yes, this is known issue with phpseclib. I'm definitely planning to fix it in next Deployer v5 with migration on only native ssh.

@msbit
Copy link
Author

msbit commented Feb 17, 2017

@Elfet okay cool

@antonmedv
Copy link
Member

Done in #1092

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants