{"action":"opened","issue":{"url":"https://api.github.com/repos/jeroenpeeters/docker-ssh/issues/18","repository_url":"https://api.github.com/repos/jeroenpeeters/docker-ssh","labels_url":"https://api.github.com/repos/jeroenpeeters/docker-ssh/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/jeroenpeeters/docker-ssh/issues/18/comments","events_url":"https://api.github.com/repos/jeroenpeeters/docker-ssh/issues/18/events","html_url":"https://github.com/jeroenpeeters/docker-ssh/issues/18","id":184100841,"number":18,"title":"Disconnected: No supported authentication methods available (server sent: )","user":{"login":"jcbrasuell","id":18704572,"avatar_url":"https://avatars.githubusercontent.com/u/18704572?v=3","gravatar_id":"","url":"https://api.github.com/users/jcbrasuell","html_url":"https://github.com/jcbrasuell","followers_url":"https://api.github.com/users/jcbrasuell/followers","following_url":"https://api.github.com/users/jcbrasuell/following{/other_user}","gists_url":"https://api.github.com/users/jcbrasuell/gists{/gist_id}","starred_url":"https://api.github.com/users/jcbrasuell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcbrasuell/subscriptions","organizations_url":"https://api.github.com/users/jcbrasuell/orgs","repos_url":"https://api.github.com/users/jcbrasuell/repos","events_url":"https://api.github.com/users/jcbrasuell/events{/privacy}","received_events_url":"https://api.github.com/users/jcbrasuell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-19T23:37:46Z","updated_at":"2016-10-19T23:37:46Z","closed_at":null,"body":"Hi - I received the following error messsage after entering a user name at the SSH shell prompt.\r\n\r\nDisconnected: No supported authentication methods available (server sent: )\r\n\r\n\r\nHere is the docker run command:\r\ndocker run -dit -e CONTAINER=test -e AUTH_MECHANISM=publicKey -e AUTHORIZED_KEYS=authorized_keys --name docker-ssh -p 2222:22  -v authorized_keys:/authorized_keys -v /var/run/docker.sock:/var/run/docker.sock jeroenpeeters/docker-ssh\r\n\r\nI did copy my authorized_keys file to the docker volume.\r\n\r\nbtw: I assume the user has to be root with the default image?\r\n\r\n[opc@dockerdb ~/docker-ssh]$ docker logs 0a\r\n\r\n> docker-ssh@1.0.0 start /src\r\n> ./node_modules/forever/bin/forever -c ./node_modules/coffee-script/bin/coffee server.coffee | ./node_modules/bunyan/bin/bunyan\r\n\r\nwarn:    --minUptime not set. Defaulting to: 1000ms\r\nwarn:    --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms\r\n[2016-10-19T22:47:01.048Z]  INFO: webserver/33 on 0a2199525555: Listening (host=::, port=8022)\r\n[2016-10-19T22:47:01.050Z]  INFO: sshServer/33 on 0a2199525555: Docker-SSH ~ Because every container should be accessible\r\n[2016-10-19T22:47:01.051Z]  INFO: sshServer/33 on 0a2199525555: Listening (host=0.0.0.0, port=22)\r\n[2016-10-19T22:47:18.735Z]  INFO: sshServer/33 on 0a2199525555: Client connected (clientIp=24.55.18.151)\r\nevents.js:160\r\n      throw er; // Unhandled 'error' event\r\n      ^\r\n\r\nError: No supported authentication methods available\r\n  at onDISCONNECT (/src/node_modules/ssh2-streams/lib/ssh.js:2029:15)\r\n  at SSH2Stream.<anonymous> (/src/node_modules/ssh2-streams/lib/ssh.js:178:5)\r\n  at emitMany (events.js:127:13)\r\n  at SSH2Stream.emit (events.js:201:7)\r\n  at parsePacket (/src/node_modules/ssh2-streams/lib/ssh.js:3462:10)\r\n  at SSH2Stream._transform (/src/node_modules/ssh2-streams/lib/ssh.js:551:13)\r\n  at SSH2Stream.Transform._read (_stream_transform.js:167:10)\r\n  at SSH2Stream._read (/src/node_modules/ssh2-streams/lib/ssh.js:212:15)\r\n  at SSH2Stream.Transform._write (_stream_transform.js:155:12)\r\n  at doWrite (_stream_writable.js:307:12)\r\n  at writeOrBuffer (_stream_writable.js:293:5)\r\n  at SSH2Stream.Writable.write (_stream_writable.js:220:11)\r\n  at Socket.ondata (_stream_readable.js:555:20)\r\n  at emitOne (events.js:96:13)\r\n  at Socket.emit (events.js:188:7)\r\n  at readableAddChunk (_stream_readable.js:172:18)\r\n  at Socket.Readable.push (_stream_readable.js:130:10)\r\n  at TCP.onread (net.js:542:20)\r\n\r\nerror: Forever detected script exited with code: 1\r\nerror: Script restart attempt #1\r\n[2016-10-19T22:47:23.399Z]  INFO: webserver/39 on 0a2199525555: Listening (host=::, port=8022)\r\n[2016-10-19T22:47:23.403Z]  INFO: sshServer/39 on 0a2199525555: Docker-SSH ~ Because every container should be accessible\r\n[2016-10-19T22:47:23.403Z]  INFO: sshServer/39 on 0a2199525555: Listening (host=0.0.0.0, port=22)"}}
{"actor":{"display_login":"jcbrasuell"}}