Breve Contesto:
Ciao, sono uno studente universitario (dietro delega 10.3.100.211:8080), nuova per ROR, Git & Heroku e hanno seguito Ruby on Tutorial Rails. Ho risolto il problema di spingere git repo tramite SSH utilizzando seguente configurazione nel mio file ~/.ssh/config (e ha funzionato perfettamente dopo che):Errore in git maestro spinta Heroku tramite ssh dietro delega
Host github.com
Hostname ssh.github.com
User git
ProxyCommand corkscrew 10.3.100.211 8080 %h %p
Port 443
Problema:
Tuttavia, a seguire https://devcenter.heroku.com/articles/git da usare Heroku per la distribuzione di app online, sto ottenendo seguente errore:
$git push heroku master
ssh: connect to host heroku.com port 22: Connection refused
fatal: The remote end hung up unexpectedly
Il mio stato attuale è: $ git remote -v
012.351.641.061.heroku [email protected]:deep-dusk-1030.git (fetch)
heroku [email protected]:deep-dusk-1030.git (push)
origin [email protected]:shaileshgupta/testapp.git (fetch)
origin [email protected]:shaileshgupta/testapp.git (push)
Qualcuno può aiutarmi con github.com come impostazioni per heroku.com da scrivere nel mio file ~/.ssh/config per una connessione senza interruzioni tramite ssh dietro proxy utilizzando PORT 443/22.
Qualsiasi aiuto sarà molto apprezzato.
Update (Un po'più di informazioni) Ho provato le seguenti impostazioni e ottenuto seguenti errori:
Configurazione:
Host heroku.com
Hostname ssh.heroku.com
User git
ProxyCommand corkscrew 10.3.100.211 8080 %h %p
Port 443
Errore:
$ git push heroku master
ssh_exchange_identification: Connection closed by remote host
fatal: The remote end hung up unexpectedly
un'altra configurazione:
Host github.com, heroku.com
Hostname ssh.github.com
User git
ProxyCommand corkscrew 10.3.100.211 8080 %h %p
Port 443
Errore:
$ git push heroku master
ERROR: Repository not found.
fatal: The remote end hung up unexpectedly
Allora ... non è necessario la stessa configurazione di proxy per raggiungere 'heroku.com' come è necessario per raggiungere' github.com'? – larsks
L'ho provato, ma viene visualizzato l'errore seguente: ** $ git push heroku master ** ERRORE: Repository non trovato. fatale: l'estremità remota si è riattaccata in modo imprevisto. – shailesh
C'è qualche problema con l'utilizzo di ssh.heroku.com come nome host? Heroku usa anche ssh.heroku.com come nomehost mentre github usa ssh.github.com per il nome host? – shailesh