git push heroku master
ssh_exchange_identification: read: Connection reset by peer
fatal: The remote end hung up unexpectedly.
Đây là lần đầu tiên tôi đã cố gắng để đẩy đến heroku.
heroku login
lợi nhuận "Xác thực thành công"- ~/.ssh/id_rsa ban đầu được tạo ra bởi các Heroku khách hàng dòng lệnh - Tôi chạy
heroku login
cho lần đầu tiên và nó hỏi nếu tôi muốn tạo ra một chìa khóa. - Tôi đã tạo lại các phím bằng cách sử dụng
ssh-keygen -t rsa
(như được chỉ định here) và sau đó thử lại nhưng vô ích. - Tạo "authorized_keys" tại "~/.ssh" và với khóa công khai của tôi trong đó, không có may mắn.
- Tạo /etc/hosts.allow với nội dung "sshd all", vẫn không có may mắn.
Quyền trên các phím là: "-rw -------" Trạng thái Heroku là O.K. Tôi đang sử dụng Mac OS X 10.7.
ssh -vvv [email protected]
lợi nhuận:
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
Mùi giống như một khóa bí mật bị hỏng hoặc không hợp lệ. File ~/.ssh/id_rsa được tạo ra như thế nào? –
Khách hàng Dòng lệnh Heroku đã tạo ra nó, chạy "đăng nhập heroku" lần đầu tiên được hỏi nếu tôi muốn tạo một tài khoản (tôi chưa có). Sau đó, để tạo lại tôi đã sử dụng "ssh-keygen -t rsa". – rishabhjain
Điều này trước đây có hoạt động không, sau đó dừng lại? Nếu bạn chạy '$ heroku login' bạn sẽ nhận được gì? – Schneems