From 4886c8815c38f9b7add50d573e4295b094736da9 Mon Sep 17 00:00:00 2001 From: Ivan Mikushin Date: Sun, 10 May 2015 17:11:40 +0500 Subject: [PATCH] make ssh happy with the key perms (again) --- tests/integration/rancherostest/conftest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/integration/rancherostest/conftest.py b/tests/integration/rancherostest/conftest.py index 1dc9c92e..6f64c247 100644 --- a/tests/integration/rancherostest/conftest.py +++ b/tests/integration/rancherostest/conftest.py @@ -6,3 +6,5 @@ import pytest def chdir_to_project_root(): os.chdir('../..') print('\nChdir to project root dir') + os.chmod('./tests/integration/assets/test.key', 0o600) + print('Also, `chmod 600 tests/integration/assets/test.key` to make ssh happy')