This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository mum. See http://git.chorem.org/mum.git commit 5f7ad39638f9ef3ed0f2e850acd5d962297cb728 Author: Alexis Guilbaud <guilbaud@codelutin.com> Date: Thu Mar 12 15:17:46 2015 +0100 ssh se connecte avec clé publique --- app/modules/connection_modules/ssh.py | 3 +-- views/hostpage.html | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/modules/connection_modules/ssh.py b/app/modules/connection_modules/ssh.py index ce3c576..7c6cabf 100644 --- a/app/modules/connection_modules/ssh.py +++ b/app/modules/connection_modules/ssh.py @@ -13,12 +13,11 @@ class SSH: self.CommandNotFoundException = cnfe if params is not None: key_path = str(key_loc) + str(params['public_key']) - key = paramiko.RSAKey.from_private_key_file(key_path) self.ssh = paramiko.SSHClient() self.ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy()) self.ssh.connect(addr_host, username=params['username'], - pkey=key, + key_filename=key_path, port=params['port']) def get_name(self): diff --git a/views/hostpage.html b/views/hostpage.html index 3e67cce..ce79874 100644 --- a/views/hostpage.html +++ b/views/hostpage.html @@ -232,6 +232,8 @@ <h3 class="modal-title">Activate/Deactivate monitoring blocks</h3> </div> <div class="modal-body"> + {{loaded_moni_mod}} + {{blocks}} <table class="table table-bordered table-hover"> <tr ng-repeat-start="(blockname, block) in blocks"> <th>{{blockname}}</th> -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.