{"action":"created","issue":{"url":"https://api.github.com/repos/moul/advanced-ssh-config/issues/53","labels_url":"https://api.github.com/repos/moul/advanced-ssh-config/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/moul/advanced-ssh-config/issues/53/comments","events_url":"https://api.github.com/repos/moul/advanced-ssh-config/issues/53/events","html_url":"https://github.com/moul/advanced-ssh-config/issues/53","id":105372063,"number":53,"title":"When establishing initial connection to server [enter] isn't working","user":{"login":"davidpelaez","id":313232,"avatar_url":"https://avatars.githubusercontent.com/u/313232?v=3","gravatar_id":"","url":"https://api.github.com/users/davidpelaez","html_url":"https://github.com/davidpelaez","followers_url":"https://api.github.com/users/davidpelaez/followers","following_url":"https://api.github.com/users/davidpelaez/following{/other_user}","gists_url":"https://api.github.com/users/davidpelaez/gists{/gist_id}","starred_url":"https://api.github.com/users/davidpelaez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidpelaez/subscriptions","organizations_url":"https://api.github.com/users/davidpelaez/orgs","repos_url":"https://api.github.com/users/davidpelaez/repos","events_url":"https://api.github.com/users/davidpelaez/events{/privacy}","received_events_url":"https://api.github.com/users/davidpelaez/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/moul/advanced-ssh-config/labels/Bug","name":"Bug","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"moul","id":94029,"avatar_url":"https://avatars.githubusercontent.com/u/94029?v=3","gravatar_id":"","url":"https://api.github.com/users/moul","html_url":"https://github.com/moul","followers_url":"https://api.github.com/users/moul/followers","following_url":"https://api.github.com/users/moul/following{/other_user}","gists_url":"https://api.github.com/users/moul/gists{/gist_id}","starred_url":"https://api.github.com/users/moul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moul/subscriptions","organizations_url":"https://api.github.com/users/moul/orgs","repos_url":"https://api.github.com/users/moul/repos","events_url":"https://api.github.com/users/moul/events{/privacy}","received_events_url":"https://api.github.com/users/moul/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-09-08T12:39:51Z","updated_at":"2015-09-08T13:37:04Z","closed_at":null,"body":"When first connecting to a new node the server's key must be accepted. I type yes but the enter key doesn't behave and end up printing something else (escaped character?), here's a sample of the output:\r\n\r\n```\r\nThe authenticity of host 'prod (<no hostip for proxy command>)' can't be established.\r\nRSA key fingerprint is ec:16:5c:6f:71:1e:55:96:09:62:13:dc:a4:73:6a:a0.\r\nAre you sure you want to continue connecting (yes/no)? yes^M^M^M^C\r\n```\r\n\r\nThe yes command is not always sent. Sometimes on the next try the security prompt no longer shows, in others it keep reprompting and I cannot tell the difference."},"comment":{"url":"https://api.github.com/repos/moul/advanced-ssh-config/issues/comments/138560743","html_url":"https://github.com/moul/advanced-ssh-config/issues/53#issuecomment-138560743","issue_url":"https://api.github.com/repos/moul/advanced-ssh-config/issues/53","id":138560743,"user":{"login":"moul","id":94029,"avatar_url":"https://avatars.githubusercontent.com/u/94029?v=3","gravatar_id":"","url":"https://api.github.com/users/moul","html_url":"https://github.com/moul","followers_url":"https://api.github.com/users/moul/followers","following_url":"https://api.github.com/users/moul/following{/other_user}","gists_url":"https://api.github.com/users/moul/gists{/gist_id}","starred_url":"https://api.github.com/users/moul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moul/subscriptions","organizations_url":"https://api.github.com/users/moul/orgs","repos_url":"https://api.github.com/users/moul/repos","events_url":"https://api.github.com/users/moul/events{/privacy}","received_events_url":"https://api.github.com/users/moul/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T13:37:04Z","updated_at":"2015-09-08T13:37:04Z","body":"You can try to run ssh in verbose mode: `ssh -vv ...` we will get more info from *assh* and *ssh*\r\n\r\nFor now I'm only looking for a repetitive case\r\n\r\nAlso if you identify an host with the error, you can try to forget the host keys and retry a \"first\" connection (`ssh-keygen -R hostname`)"}}