Serveurs Privés Virtuels (VPS) - Changement port ssh sur un VPS
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.
Frage

Changement port ssh sur un VPS

Von
Jean_LouisS3
Erstellungsdatum 2019-12-18 15:10:31 (edited on 2024-09-04 11:10:08) in Serveurs Privés Virtuels (VPS)

Bonjour,
sur un VPS debian 9 que je viens de louer:
Je change le port SSH dans /etc/ssh/sshd_config port 22-> port 7799 .
je restart le service ssh.
Impossible de me connecter a mon VPS avec ssh xxx@monvps -p 7799 (passage par KVM pour rétablir)
j'ai ajouté et activé un FW avec une règle qui autorise le port destination 7799 sur TCP c'est pas mieux...
J'ai fouillé les forums et autres sites rien qui aide...

Une idée/ astuce?

Quels sont les ports ouverts par OVH en amont du VPS?

Merci pour votre aide.


1 Antwort ( Latest reply on 2019-12-18 16:56:38 Von
Jean_LouisS3
)

Résolu! J'avais oublié le FW de yunohost qu'il faut mettre a jour... par
`#yunohost firewall allow TCP `
Pas besoin de toucher le FW.