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

User interaction not allowed error #197

Closed
snewcomer opened this issue Nov 11, 2017 · 3 comments
Closed

User interaction not allowed error #197

snewcomer opened this issue Nov 11, 2017 · 3 comments
Assignees

Comments

@snewcomer
Copy link
Contributor

When trying to build and deploy an application, I am getting the error below. Since this lib uses sshkit under the hood, I was wondering if anybody has encountered the same problems and got around it? Here is the related issue in sshkit.

Ref Issue: bitcrowd/sshkit.ex#88

** (SSHError) SSHKit returned an internal error on 165.227.58.185: 'User interaction is not allowed'
    lib/bootleg/ssh.ex:70: anonymous fn/2 in Bootleg.SSH.run/2
    (elixir) lib/enum.ex:1255: Enum."-map/2-lists^map/1-0-"/2
    lib/bootleg/ssh.ex:163: Bootleg.SSH.run!/2
    lib/bootleg/ssh.ex:87: Bootleg.SSH.validate_workspace/3
    lib/bootleg/ssh.ex:51: Bootleg.SSH.init/2
    deps/bootleg/lib/bootleg/tasks/ping.exs:5: anonymous fn/3 in Bootleg.DynamicTasks.Ping.execute/0
    (elixir) lib/enum.ex:1811: Enum."-reduce/3-lists^foldl/2-0-"/3
    deps/bootleg/lib/bootleg/tasks/ping.exs:5: Bootleg.DynamicTasks.Ping.execute/0
@rjanja
Copy link
Contributor

rjanja commented Nov 11, 2017

The 💣 is due to a failure to interact, I'm guessing either:

  • An identity is being used and it's protected by passphrase
  • The remote host fingerprint isn't known

Try adding silently_accept_hosts: true to the options. If that doesn't work, please share your deploy.exs with us. Thanks!

@rjanja rjanja self-assigned this Nov 11, 2017
@snewcomer
Copy link
Contributor Author

Ah silently_accept_hosts works. Thank you!

@rjanja
Copy link
Contributor

rjanja commented Nov 11, 2017

Great! 👍 Thanks for the feedback!

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

No branches or pull requests

2 participants