Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

How to connect odoo server on ssh

Odoberať

Get notified when there's activity on this post

This question has been flagged
odoossh
2 Replies
2760 Zobrazenia
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
Zrušiť
Avatar
Jung
Autor Best Answer

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
Zrušiť
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrácia
Related Posts Replies Zobrazenia Aktivita
Can't connect to remote server via SSH (Putty and Vscode)
odoo vscode ssh
Avatar
Avatar
1
júl 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
3334
(#iberia#)¿Cómo llamar a Iberia desde Panamá?
odoo
Avatar
0
okt 25
400
How to import product variants with my own external id when using dynamic creation mode Solved
odoo
Avatar
Avatar
2
aug 25
3907
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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