Skip to content
This repository has been archived by the owner on Mar 19, 2022. It is now read-only.

Authy SSH blocks knife cook #458

Open
stephenyeargin opened this issue Oct 1, 2015 · 1 comment
Open

Authy SSH blocks knife cook #458

stephenyeargin opened this issue Oct 1, 2015 · 1 comment

Comments

@stephenyeargin
Copy link

This is a rather silly edge case, but I figured I would see if anyone else has come across it. I use authy-ssh to secure my login with 2FA. When I attempt to deploy to a server with this enabled, the dialog hangs.

$ knife solo cook stephen@<my-node>
Running Chef on <my-node>...
Checking Chef version...

My assumption is that the prompt isn't being routed out into view. A normal login:

$ ssh <my-node>
Authy Token (type 'sms' to request a SMS token): 12345678
Good job! You've securely logged in with Authy.
$
@matschaffer
Copy link
Owner

Interesting! I may have to try that out. I do notice there's a section here about disabling it for chef, so could be a lost cause, but if you can manage to get Net::SSH & rsync handling the 2FA, then we can probably patch that into knife-solo (ultimately knife-solo is just a wrapper around both).

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

No branches or pull requests

2 participants