Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

How to connect odoo server on ssh

Naroči se

Get notified when there's activity on this post

This question has been flagged
odoossh
2 Odgovori
2750 Prikazi
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
Opusti
Avatar
Jung
Avtor 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
Opusti
Enjoying the discussion? Don't just read, join in!

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

Prijavi
Related Posts Odgovori Prikazi Aktivnost
Can't connect to remote server via SSH (Putty and Vscode)
odoo vscode ssh
Avatar
Avatar
1
jul. 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
okt. 25
396
How to import product variants with my own external id when using dynamic creation mode Solved
odoo
Avatar
Avatar
2
avg. 25
3887
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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