git push heroku master
ssh_exchange_identification: read: Connection reset by peer
fatal: The remote end hung up unexpectedly.
यह वह जगह है पहली बार मैंने Heroku को धक्का देने की कोशिश की है।
heroku login
रिटर्न "प्रमाणीकरण सफल रहा"- ~/.ssh/id_rsa मूल रूप Heroku कमांड लाइन ग्राहक द्वारा बनाया गया था - मैं पहली बार के लिए
heroku login
भाग गया और यह पूछा कि क्या मैं एक कुंजी उत्पन्न करना चाहता था। - मैंने
ssh-keygen -t rsa
(जैसा निर्दिष्ट here निर्दिष्ट किया है) का उपयोग करके कुंजियां फिर से बनाईं और फिर फिर से कोशिश की लेकिन व्यर्थ में। - "~/.ssh" पर "अधिकृत_की" बनाया गया और इसमें मेरी सार्वजनिक कुंजी के साथ, कोई भाग्य नहीं।
- सामग्री "sshd सब" के साथ /etc/hosts.allow बनाया गया, अभी भी कोई भाग्य नहीं है।
कुंजी पर अनुमतियां हैं: "-rw -------" हेरोोक स्थिति ओके है। मै मैक ओएस एक्स 10.7 का उपयोग कर रहा हूं।
ssh -vvv [email protected]
रिटर्न:
OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011
debug1: Reading configuration data /etc/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to heroku.com [50.19.85.132] port 22.
debug1: Connection established.
debug3: Not a RSA1 key file ~/.ssh/id_rsa.
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type '-----END'
debug3: key_read: missing keytype
debug1: identity file ~/.ssh/id_rsa type 1
debug1: identity file ~/.ssh/id_rsa-cert type -1
debug1: identity file ~/.ssh/id_dsa type -1
debug1: identity file ~/.ssh/id_dsa-cert type -1
ssh_exchange_identification: read: Connection reset by peer
एक अनुपयोगी या अमान्य निजी कुंजी की तरह खुशबू द्वारा ownd किया गया था। फ़ाइल ~/.ssh/id_rsa कैसे बनाई गई? –
हेरोकू कमांड लाइन क्लाइंट ने इसे पहली बार पूछा, "हेरोकू लॉगिन" चलाते हुए पूछा गया कि क्या मैं एक उत्पन्न करना चाहता हूं (मेरे पास पहले से कोई नहीं था)। फिर पुन: बनाने के लिए मैंने "ssh-keygen -t rsa" का उपयोग किया। – rishabhjain
क्या यह पहले काम करता था, और फिर रुक गया? यदि आप '$ heroku लॉगिन 'चलाते हैं तो आपको क्या मिलता है? – Schneems