Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

How to connect odoo server on ssh

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
odoossh
2 Réponses
2749 Vues
Avatar
Jung

I had install odoo file form Turnkey I can login odoo admin website but cannot connect odoo file on vsCode please recommend me 

Output Log

[11:21:33.978] Log Level: 2

[11:21:33.997] SSH Resolver called for "ssh-remote+192.168.2.91", attempt 1

[11:21:34.002] remote.SSH.useLocalServer = false

[11:21:34.002] remote.SSH.useExecServer = true

[11:21:34.002] remote.SSH.bindHost = {}

[11:21:34.002] remote.SSH.showLoginTerminal = false

[11:21:34.002] remote.SSH.remotePlatform = {}

[11:21:34.002] remote.SSH.path =

[11:21:34.002] remote.SSH.configFile =

[11:21:34.002] remote.SSH.useFlock = true

[11:21:34.002] remote.SSH.lockfilesInTmp = false

[11:21:34.003] remote.SSH.localServerDownload = auto

[11:21:34.003] remote.SSH.remoteServerListenOnSocket = false

[11:21:34.003] remote.SSH.defaultExtensions = []

[11:21:34.003] remote.SSH.defaultExtensionsIfInstalledLocally = []

[11:21:34.003] remote.SSH.loglevel = 2

[11:21:34.003] remote.SSH.enableDynamicForwarding = true

[11:21:34.003] remote.SSH.enableRemoteCommand = false

[11:21:34.003] remote.SSH.serverPickPortsFromRange = {}

[11:21:34.003] remote.SSH.serverInstallPath = {}

[11:21:34.003] remote.SSH.permitPtyAllocation = false

[11:21:34.003] remote.SSH.preferredLocalPortRange = undefined

[11:21:34.004] remote.SSH.useCurlAndWgetConfigurationFiles = false

[11:21:34.004] remote.SSH.experimental.chat = true

[11:21:34.004] remote.SSH.experimental.enhancedSessionLogs = true

[11:21:34.004] remote.SSH.httpProxy = {"*":""}

[11:21:34.004] remote.SSH.httpsProxy = {"*":""}

[11:21:34.014] VS Code version: 1.99.3

[11:21:34.014] Remote-SSH version: remote-ssh@0.119.0

[11:21:34.014] win32 x64

[11:21:34.017] SSH Resolver called for host: 192.168.2.91

[11:21:34.017] Setting up SSH remote "192.168.2.91"

[11:21:34.028] Using commit id "17baf841131aa23349f217ca7c570c76ee87b957" and quality "stable" for server

[11:21:34.028] Extensions to install:

[11:21:34.033] Install and start server if needed

[11:21:35.023] Checking ssh with "c:\program files (x86)\business objects\common\3.5\bin\notes\ssh.exe -V"

[11:21:35.026] Got error from ssh: spawn c:\program files (x86)\business objects\common\3.5\bin\notes\ssh.exe ENOENT

[11:21:35.026] Checking ssh with "c:\program files (x86)\business objects\common\3.5\bin\notes\data\ssh.exe -V"

[11:21:35.027] Got error from ssh: spawn c:\program files (x86)\business objects\common\3.5\bin\notes\data\ssh.exe ENOENT

[11:21:35.028] Checking ssh with "c:\program files (x86)\vmware\vmware workstation\bin\ssh.exe -V"

[11:21:35.029] Got error from ssh: spawn c:\program files (x86)\vmware\vmware workstation\bin\ssh.exe ENOENT

[11:21:35.029] Checking ssh with "c:\windows\system32\ssh.exe -V"

[11:21:35.030] Got error from ssh: spawn c:\windows\system32\ssh.exe ENOENT

[11:21:35.030] Checking ssh with "c:\windows\ssh.exe -V"

[11:21:35.031] Got error from ssh: spawn c:\windows\ssh.exe ENOENT

[11:21:35.031] Checking ssh with "c:\windows\system32\wbem\ssh.exe -V"

[11:21:35.033] Got error from ssh: spawn c:\windows\system32\wbem\ssh.exe ENOENT

[11:21:35.033] Checking ssh with "c:\windows\system32\windowspowershell\v1.0\ssh.exe -V"

[11:21:35.034] Got error from ssh: spawn c:\windows\system32\windowspowershell\v1.0\ssh.exe ENOENT

[11:21:35.034] Checking ssh with "c:\program files (x86)\putty\ssh.exe -V"

[11:21:35.035] Got error from ssh: spawn c:\program files (x86)\putty\ssh.exe ENOENT

[11:21:35.035] Checking ssh with "c:\windows\system32\openssh\ssh.exe -V"

[11:21:35.072] > OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2


[11:21:35.077] Running script with connection command: "c:\windows\system32\openssh\ssh.exe" -T -D 50687 "192.168.2.91" sh

[11:21:35.078] Generated SSH command: 'type "C:\Users\DEV\AppData\Local\Temp\vscode-linux-multi-line-command-192.168.2.91-287393316.sh" | "c:\windows\system32\openssh\ssh.exe" -T -D 50687 "192.168.2.91" sh'

[11:21:35.079] Using connect timeout of 17 seconds

[11:21:35.080] Terminal shell path: C:\WINDOWS\System32\cmd.exe

[11:21:35.637] >

[11:21:35.637] Got some output, clearing connection timeout

[11:21:35.734] >

[11:21:35.746] > root@192.168.2.91's password:

[11:21:35.746] Showing password prompt

[11:21:43.295] Got password response

[11:21:43.295] "install" wrote data to terminal: "************"

[11:21:43.312] >

[11:21:43.518] > d62639582e28: running

> Script executing under PID: 1517

[11:21:43.531] > Found existing installation at /root/.vscode-server...

> Starting VS Code CLI...

> Removing old logfile at /root/.vscode-server/.cli.17baf841131aa23349f217ca7c570c76ee87b957.log

> Spawned remote CLI: 1542

[11:21:43.539] > Waiting for server log...

[11:21:43.567] > d62639582e28: start

> listeningOn==127.0.0.1:36489==

> osReleaseId==debian==

> arch==x86_64==

> vscodeArch==x64==

> bitness==64==

> tmpDir==/tmp==

> platform==linux==

> unpackResult====

> didLocalDownload==0==

> downloadTime====

> installTime====

> serverStartTime==39==

> execServerToken==1a1111a1-1111-1a1a-1aa1-11aaa11a11aa==

> platformDownloadPath==cli-alpine-x64==

> SSH_AUTH_SOCK====

> DISPLAY====

> d62639582e28: end

[11:21:43.567] Received install output:

listeningOn==127.0.0.1:36489==

osReleaseId==debian==

arch==x86_64==

vscodeArch==x64==

bitness==64==

tmpDir==/tmp==

platform==linux==

unpackResult====

didLocalDownload==0==

downloadTime====

installTime====

serverStartTime==39==

execServerToken==1a1111a1-1111-1a1a-1aa1-11aaa11a11aa==

platformDownloadPath==cli-alpine-x64==

SSH_AUTH_SOCK====

DISPLAY====


[11:21:43.568] Remote server is listening on port 36489

[11:21:43.568] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"port":36489},"osReleaseId":"debian","arch":"x86_64","sshAuthSock":"","display":"","tmpDir":"/tmp","platform":"linux","execServerToken":"1a1111a1-1111-1a1a-1aa1-11aaa11a11aa"},"serverStartTime":39,"installUnpackCode":""}

[11:21:43.572] Starting forwarding server. local port 50690 -> socksPort 50687 -> remotePort 36489

[11:21:43.572] Forwarding server listening on port 50690

[11:21:43.572] Waiting for ssh tunnel to be ready

[11:21:43.574] [Forwarding server port 50690] Got connection 0

[11:21:43.575] Tunneled port 36489 to local port 50690

[11:21:43.575] Resolved "ssh-remote+192.168.2.91" to "port 50690"

[11:21:43.581] Initizing new exec server for ssh-remote+192.168.2.91

[11:21:43.581] Resolving exec server at port 50690

[11:21:43.583] [Forwarding server port 50690] Got connection 1

[11:21:43.588] Failed to set up socket for dynamic port forward to remote port 36489: Socket closed. TCP port forwarding may be disabled, or the remote server may have crashed. See the VS Code Server log above for details.

[11:21:43.589] Failed to set up socket for dynamic port forward to remote port 36489: Socket closed. TCP port forwarding may be disabled, or the remote server may have crashed. See the VS Code Server log above for details.

[11:21:43.603] > channel 3: open failed: administratively prohibited: open failed

> channel 4: open failed: administratively prohibited: open failed

[11:21:43.603] ERROR: TCP port forwarding appears to be disabled on the remote host. Ensure that the sshd_config has `AllowTcpForwarding yes`. Contact your system administrator if needed.

[11:21:43.611] >



 

0
Avatar
Ignorer
Avatar
Jung
Auteur Meilleure réponse

Hello, thank you for your recommendation. I have already edited the sshd_config file located at /etc/ssh/sshd_config, but I still cannot connect via SSH. I noticed that the SSH service stays active for only about 1 hour and then becomes unreachable again.

I installed Odoo version 18.0 using the TurnKey Linux 

0
Avatar
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Can't connect to remote server via SSH (Putty and Vscode)
odoo vscode ssh
Avatar
Avatar
1
juil. 23
639
(!!C-o-p-a!!)¿Cómo comunicarse con Copa Airlines en Panamá?
odoo
Avatar
0
nov. 25
211
How do I go about this error? I am trying to uninstall a module
odoo
Avatar
0
nov. 25
3328
(#iberia#)¿Cómo llamar a Iberia desde Panamá?
odoo
Avatar
0
oct. 25
396
How to import product variants with my own external id when using dynamic creation mode Résolu
odoo
Avatar
Avatar
2
août 25
3887
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now