{"action":"created","issue":{"url":"https://api.github.com/repos/playniuniu/docker-weblogic-sshd/issues/1","repository_url":"https://api.github.com/repos/playniuniu/docker-weblogic-sshd","labels_url":"https://api.github.com/repos/playniuniu/docker-weblogic-sshd/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/playniuniu/docker-weblogic-sshd/issues/1/comments","events_url":"https://api.github.com/repos/playniuniu/docker-weblogic-sshd/issues/1/events","html_url":"https://github.com/playniuniu/docker-weblogic-sshd/issues/1","id":189615308,"number":1,"title":"Can't ssh into host","user":{"login":"aikdong","id":3353085,"avatar_url":"https://avatars.githubusercontent.com/u/3353085?v=3","gravatar_id":"","url":"https://api.github.com/users/aikdong","html_url":"https://github.com/aikdong","followers_url":"https://api.github.com/users/aikdong/followers","following_url":"https://api.github.com/users/aikdong/following{/other_user}","gists_url":"https://api.github.com/users/aikdong/gists{/gist_id}","starred_url":"https://api.github.com/users/aikdong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aikdong/subscriptions","organizations_url":"https://api.github.com/users/aikdong/orgs","repos_url":"https://api.github.com/users/aikdong/repos","events_url":"https://api.github.com/users/aikdong/events{/privacy}","received_events_url":"https://api.github.com/users/aikdong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-16T07:24:21Z","updated_at":"2016-11-19T01:46:41Z","closed_at":null,"body":"Then I run:\r\n`docker run -d -p 2222:22 -p 8001:8001 -p 9001:9001 --name=wlsadmin \\\r\n-v /Users/USER_NAME/.ssh/:/sshkey playniuniu/weblogic-sshd:12.2.1.2`\r\nand then try to ssh into docker:\r\n`ssh localhost -p 2222`.\r\n\r\nI got:\r\n`ssh_exchange_identification: Connection closed by remote host`"},"comment":{"url":"https://api.github.com/repos/playniuniu/docker-weblogic-sshd/issues/comments/261684411","html_url":"https://github.com/playniuniu/docker-weblogic-sshd/issues/1#issuecomment-261684411","issue_url":"https://api.github.com/repos/playniuniu/docker-weblogic-sshd/issues/1","id":261684411,"user":{"login":"aikdong","id":3353085,"avatar_url":"https://avatars.githubusercontent.com/u/3353085?v=3","gravatar_id":"","url":"https://api.github.com/users/aikdong","html_url":"https://github.com/aikdong","followers_url":"https://api.github.com/users/aikdong/followers","following_url":"https://api.github.com/users/aikdong/following{/other_user}","gists_url":"https://api.github.com/users/aikdong/gists{/gist_id}","starred_url":"https://api.github.com/users/aikdong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aikdong/subscriptions","organizations_url":"https://api.github.com/users/aikdong/orgs","repos_url":"https://api.github.com/users/aikdong/repos","events_url":"https://api.github.com/users/aikdong/events{/privacy}","received_events_url":"https://api.github.com/users/aikdong/received_events","type":"User","site_admin":false},"created_at":"2016-11-19T01:46:40Z","updated_at":"2016-11-19T01:46:40Z","body":"Just added a authorized_keys file in .ssh/ folder:\r\n```\r\n-rw-r--r--  1 donxdong  staff   743B Nov 19 09:38 authorized_keys\r\n-rw-r--r--  1 donxdong  staff   479B Nov 19 09:39 config\r\n-rw-------  1 donxdong  staff   3.2K Nov 13 18:53 id_rsa\r\n-rw-r--r--  1 donxdong  staff   743B Nov 13 18:53 id_rsa.pub\r\n-rw-r--r--  1 donxdong  staff   8.1K Nov 19 09:37 known_hosts\r\n```\r\nIt didn't working:\r\n```\r\n$ ssh weblogic -v\r\nOpenSSH_7.2p2, LibreSSL 2.4.1\r\ndebug1: Reading configuration data /Users/donxdong/.ssh/config\r\ndebug1: /Users/donxdong/.ssh/config line 32: Applying options for weblogic\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 20: Applying options for *\r\ndebug1: Connecting to localhost [::1] port 2222.\r\ndebug1: Connection established.\r\ndebug1: identity file /Users/donxdong/.ssh/id_rsa type 1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /Users/donxdong/.ssh/id_rsa-cert type -1\r\ndebug1: Enabling compatibility mode for protocol 2.0\r\ndebug1: Local version string SSH-2.0-OpenSSH_7.2\r\nssh_exchange_identification: Connection closed by remote host\r\n$ \r\n```"}}
{"actor":{"display_login":"aikdong"}}