Déploiement avance avec SSH, Git et Composer
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

Déploiement avance avec SSH, Git et Composer

by
AminB
Created on 2020-05-08 09:39:52 (edited on 2024-09-04 13:14:43) in Hébergements Web

Bonjour à tous,

Je suis entrain de créer un répertoire git sur mon serveur mutualisé.
J'ai suivi les différents étapes défini dans cette documentation : https://docs.ovh.com/fr/hosting/24-days/day07/
J'ai préalablement installé sur mon serveur ma clé privée.

J'ai pourtant cette erreur au moment je tapes cette commande "git push ovh master" :
> ssh: connect to host sshcloud.cluster0XX.hosting.ovh.net port 22: Operation timed out
> fatal: Could not read from remote repository.

> Please make sure you have the correct access rights
> and the repository exists.

Pourtant mon utilisateur a tous les droits et le répertoire existe bien.
Sachant que j'ai changé de différentes manières le lien sauvegardé dans Master (FTP, SSH, définir le bon port, ...).

Du coup, je ne sais pas trop comment résoudre ce problème.
Pourriez vous m'aider ?


2 Replies ( Latest reply on 2021-01-20 16:47:07 by
GuillaumeL78
)

quelle offre d'hébergement ?

cluster0XX, c'est cluster024 (rien de confidentiel dans un serveur public!)?

J'ai un hébergement mutualité.
Oui, C'est cluster024

> port 22: Operation timed out

donc tu ne dois pas utiliser le bon port ou le bon login, le serveur répond
```text
ssh -p12345 kyodev@sshcloud.cluster024.hosting.ovh.net
*------------------------------------------------------------------------------*
|THIS IS A PRIVATE COMPUTER SYSTEM, UNAUTHORIZED ACCESS IS STRICTLY PROHIBITED.|
|ALL CONNECTIONS ARE LOGGED. IF YOU ARE NOT AUTHORIZED, DISCONNECT NOW. |
*------------------------------------------------------------------------------*
____ _ ___ __ _
/ ___| | ___ _ _ __| \ \ / /__| |__
| | | |/ _ \| | | |/ _` |\ \ /\ / / _ \ '_ \
| |___| | (_) | |_| | (_| | \ V V / __/ |_) |
\____|_|\___/ \__,_|\__,_| \_/\_/ \___|_.__/

kyodev@sshcloud.cluster024.hosting.ovh.net's password:



ssh -p12345 kyodev@ftpcloud.cluster024.hosting.ovh.net
*------------------------------------------------------------------------------*
|THIS IS A PRIVATE COMPUTER SYSTEM, UNAUTHORIZED ACCESS IS STRICTLY PROHIBITED.|
|ALL CONNECTIONS ARE LOGGED. IF YOU ARE NOT AUTHORIZED, DISCONNECT NOW. |
*------------------------------------------------------------------------------*
____ _ ___ __ _
/ ___| | ___ _ _ __| \ \ / /__| |__
| | | |/ _ \| | | |/ _` |\ \ /\ / / _ \ '_ \
| |___| | (_) | |_| | (_| | \ V V / __/ |_) |
\____|_|\___/ \__,_|\__,_| \_/\_/ \___|_.__/

kyodev@ftpcloud.cluster024.hosting.ovh.net's password:
```

Bonjour,

J'avais exactement le même souci : j'ai finalement remis exactement l'adresse indiquée https://docs.ovh.com/fr/hosting/24-days/day07/#initialisation-du-depot-git dans le tuto, cad en mettant "....@ftp.cluster024..." au lieu de "...@ftpcloud.cluster024...", et j'ai eu une demande de saisie de mot de passe (hourra !).
Mais là le mot de passe ftp / ssh ou même ovh : rien ne marche...

Il y a une manip supplémentaire à faire ?

Merci pour votre aide !