Closed rkhamis closed 5 years ago
Working on automatic loading ssh-agent with key if available
Change-log: Commit: https://github.com/threefoldtech/jumpscaleX/commit/93a7614c3b1646985de64a736d6e3052ff4d234a, Branch: development_jumpscale
Change-log: Commit: https://github.com/threefoldtech/jumpscaleX/commit/1fe363b21f54cc05a51935eaf336fd15145279cf, Branch: development_jumpscale
~/sandbox/cfg/jumpscale_config.toml
or /sandbox/cfg/jumpscale_config.toml
according to your installation typeFull installation scenario
ssh-agent 1- No ssh-agent loaded Will load ssh-agent with jsx socket path in {DIR_VAR}/sshagent_socket 2- There's an ssh-agent loaded but invalid socket Will kill the agent and load new one with the new sockets
ssh-keys 1- No sshkey found in ~/.ssh This will exit the installer with an error message to have a ssh-key 2- Only 1 ssh-key found Will load this key and continue installation normally 3- More than ssh-key found will ask you which one to choose
verified all cases in Full installation scenario
below are the main steps are repeated on each cases
apt install -y openssh-server locales curl vim git rsync unzip lsb python3 python3-pip
pip3 install click
curl https://raw.githubusercontent.com/threefoldtech/jumpscaleX/development_jumpscale/install/jsx.py?$RANDOM > /tmp/jsx;
chmod +x /tmp/jsx;
/tmp/jsx install
jsx version
3BOTDEVEL:test:jumpscaleX: git log -1
commit f84f2be4d975e6643e2d7f83c9c2f864042562ec (grafted, HEAD -> development_jumpscale, origin/development_jumpscale)
Author: BolaNasr <bola.nasr@live.com>
Date: Sun Jul 28 14:46:03 2019 +0200
add odoo conf
Behavior ON HOST should be:
In the config file, which key to use is specified
note: loading of key in ssh-agent and starting ssh-agent needs to be automatic
Behavior ON CONTAINER: not in container because then SSH -a which means the ssh-key was forwarded