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

Problem with MacOS Sierra #4

Open
matfiz opened this issue Aug 4, 2017 · 4 comments
Open

Problem with MacOS Sierra #4

matfiz opened this issue Aug 4, 2017 · 4 comments

Comments

@matfiz
Copy link

matfiz commented Aug 4, 2017

After installing it on my host (MacOS Sierra v. 10.12.6 (16G29)), when I fire pinata-ssh-forward it gives no output. After commenting out line 2 set -eo pipefail, I get the prompt asking for password:

ssh-agent
Connection to 127.0.0.1 port 2244 [tcp/nmsserver] succeeded!
[email protected]'s password:
Permission denied, please try again.

What is wrong with my setup? :)

@foster
Copy link

foster commented Aug 23, 2017

Hard to tell exactly what's wrong with your setup -- but I had the same output and noted that when I ran ssh-add -L, the output was "The agent has no identities."

I fixed it by running ssh-add and addressing its complaints about my private key (file permissions were too permissive for its taste).

@BlinkyStitt
Copy link

BlinkyStitt commented Dec 18, 2017

@matfiz can you try again with the latest version?

Please include the full output of these commands:

ssh-add -l
bash -x pinata-ssh-forward.sh

@basz
Copy link

basz commented Mar 18, 2018

I have the same issue as this one i guess

rattletrap:~ bas$ ssh-add -l
2048 SHA256:3GFnIy4rK2DssixkIMjV1KST4nnj7HT3HIr355Rma4w /Users/bas/.ssh/id_rsa (RSA)
rattletrap:~ bas$ bash -x pinata-ssh-forward.sh
bash: pinata-ssh-forward.sh: No such file or directory

but this does do something, never ends though

rattletrap:~ bas$ bash -x pinata-ssh-forward
+ set -eo pipefail
+ IMAGE_NAME=uber/ssh-agent-forward:latest
+ CONTAINER_NAME=pinata-sshd
+ VOLUME_NAME=ssh-agent
+ HOST_PORT=2244
++ ssh-add -L
++ base64
++ tr -d '\n'
+ AUTHORIZED_KEYS=c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEYjdFYkY2OVFFamZMdUxuOUtESjlKUHRQUFlnbmgvTjVmVk5Fb1EyRkdLWXdNMlpIUEx2QnFJbzRpYjhpaVIxbUw3ZldHWSt6QjVvRnRnZjlsZEFpU0ZiWWdSRzJqYU1FTVl1cy9JM0ovMitOSmZ1VjVndHZaSDRGYlVPSU5JWDJwQUIreCthWmx5ZS9HWXhhZ01zaE1oVlhoN1pCUUs2Z3FWOVZhTzNHUjA3Q3FObGJjSnlQdlJpT0IvMXBYSmU5cTVxRldFeEFKbnozclorOFROV0tpUHRkWGR4Q3h0YXlFdGZuaVcwQ3NtNlQzRU1ONmpkakNrcm9GOEM5bmtKSTdxQ3VOWmwvY0ZrdVoxMm92Z25SYTFuWWVJWi9yTGFrYUZjZ0FpbGs4dWl4U1JDalB4dUVwVGlrSDErQ04zSDZKYjR0T2twdFZjQSthdTNDTm5SLy8gL1VzZXJzL2Jhcy8uc3NoL2lkX3JzYQo=
++ mktemp -t dsaf.XXX
+ KNOWN_HOSTS_FILE=/var/folders/56/99fk35bd6f576y9wtfyx6prw0000gn/T/dsaf.XXX.KEZ7Tlaf
+ trap 'rm ${KNOWN_HOSTS_FILE}' EXIT
+ docker rm -f pinata-sshd
^C++ rm /var/folders/56/99fk35bd6f576y9wtfyx6prw0000gn/T/dsaf.XXX.KEZ7Tlaf

@basz
Copy link

basz commented Mar 18, 2018

rebooted and reinstalled this, now everything seems to work

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

4 participants