Odoo Help


Connect ssh using odoo

on 3/24/15, 6:18 AM 2,316 views

i need to execute a command from python code in odoo8. the same command is functional in a simple py file but when i execute the same command in odoo8 py file i get the follwing error.

ssh: connect to host ip@ port 22: No route to host .

your forgot the user... user@ip[:22]

Jérémy Kersten (jke)
on 3/24/15, 4:38 PM
Thank you! i found a solution for my probleme, i used sshpass and ssh -t command, it did the trick. Thank you again for your help.

2015-03-24 21:38 GMT+01:00 Jérémy Kersten (jke) <jke@mail.odoo.com>:

your forgot the user... user@ip[:22]

Jérémy Kersten

Sent by Odoo S.A. using Odoo about Forum Post Connect ssh usgin odoo

Khalledi Abderrahmen
+216 55 521 232
on 3/24/15, 4:42 PM

Axel Mendoza

--Axel Mendoza--
| 7 8 8
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full-time employee trying to understand what to do and how

Reach me at aekroft@gmail.com

Axel Mendoza
On 7/27/15, 4:36 AM

I use fabric for ssh remote commands execution. Using a task.execute from fabric and a settings context manager. For authentication better use ssh key authentication between the servers and all will be ok, no password error

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 3/24/15, 6:18 AM
Seen: 2316 times
Last updated: 5/30/16, 7:16 AM