diff options
author | Luc Provoost <luc.provoost@gmail.com> | 2023-02-07 09:41:07 +0100 |
---|---|---|
committer | Luc Provoost <luc.provoost@gmail.com> | 2023-02-07 09:41:07 +0100 |
commit | 96b651994ca7e860c5517f50276c7fd20a75dede (patch) | |
tree | c7bbdaecd896adfa4b743451ad932fd380f21e10 /VNFs | |
parent | 7a8aefa95e91371252eea44a0ba5ca7068712c57 (diff) |
Start ssh properly for Ubuntu
The command to start ssh (on CentOS) seems not be working on Ubunutu.
Now we start ssh with 'service ssh start'
Signed-off-by: Luc Provoost <luc.provoost@gmail.com>
Change-Id: Ief8cd2e10443ffe99da1ed494d154edc6d8e175e
Diffstat (limited to 'VNFs')
-rwxr-xr-x | VNFs/DPPD-PROX/helper-scripts/rapid/start.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/start.sh b/VNFs/DPPD-PROX/helper-scripts/rapid/start.sh index 7fbeedf8..0ff7d9bd 100755 --- a/VNFs/DPPD-PROX/helper-scripts/rapid/start.sh +++ b/VNFs/DPPD-PROX/helper-scripts/rapid/start.sh @@ -34,6 +34,9 @@ create_tun touch /opt/rapid/system_ready_for_rapid # Start SSH server in background -/usr/sbin/sshd +echo "mkdir -p /var/run/sshd" >> /etc/rc.local +service ssh start -exec sleep infinity +echo "rapid ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers + +sleep infinity |