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
Avoid the codeserver.drush.in password prompt? #808
Comments
I'm going to close this as @pirog is helping through slack and it technically isn't an "issue" :) |
Contents of the Host *
AddKeysToAgent yes
UseKeychain yes
Host github.com
HostName github.com
User [redacted]
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_rsa |
I was running into this issue, and for my case, I finally found a solution - The issue for me was my SSH key was password protected. I had to enable the global "Load PP protected ssh keys" config in my |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions and please check out this if you are wondering why we auto close issues. |
Sometimes it is a thing of permissions. I was running Then I tried to pull from It took me hours to figure it out because I have permissions to access DB backups from Live environment, but I don't have access to the Live database, which is odd at least. So, check with the Administrator of the hosting account (Pantheon in my particular case) what permissions you have on your account, what is your role, and also try pulling from different environments, that might give you a hint of what is happening. |
Not necessarily a bug report?
Issue description
I'm unable to figure out why one of my machines require the
codeserver drush
passphrase and the other does not. I've tracked down that both machines are using the sameterminus machine token
and bothsshkeys
that are defined in thelando
config are added to Pantheon as valid keys.Am I missing something in the configuration process in understanding why one is machine behaves differently than the other?
Tell us about your setup
OSx 10.13.3
v3.0.0-beta.37
Tell us about your
.lando.yml
Not applicable?
Tell us about the command you were running
lando pull
&lando push
Tell us about the error you got
Being prompted multiple times for a passphase at each step of a
pull
/push
;codeserver.dev.xxxxxxx.drush.in's password:
Tell us generally about your bug
Same configuration on two machines, but one requires a password and the other doesn't.
Additional findings
Part 1: Verify the
sshkey
does not require a passphraseFindings: Based on the following link, the key referenced for lando does not have a passkey required
Part 2: Viewing
lando logs
for an appFindings: Permissions for the
~/.ssh/config
were not permittedPart 3: Viewing the permission of the
~/.ssh/ contents
Findings: Permissions appear correct for the app container.
Part 4: List all the files in the
/var/www/.ssh/
directory of the appserverFindings: Symlink appears to be correct on the appserver
Part 5: Listing the contents of
~/.ssh/
with user permissions shownFindings: The machine that is persistently prompting for a passphrase has a
config
document, whereas the machine that is not, does not contain one.The text was updated successfully, but these errors were encountered: