mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-20 17:52:51 +00:00
added ssh config
This commit is contained in:
parent
a3517c3516
commit
34d111dec8
@ -33,3 +33,7 @@ mount /mnt
|
||||
|
||||
# initialize /etc/openvpn/client.conf
|
||||
sed -e 's,proto udp,;proto udp,' -e 's,;proto tcp,proto tcp,' -e 's,^remote.*,,' /usr/share/openvpn/examples/client.conf > /etc/openvpn/client.conf
|
||||
|
||||
# ssh configuration
|
||||
if [ ! -d /home/haki/.ssh ] ; then sudo -u haki mkdir /home/haki/.ssh ; fi
|
||||
echo "StrictHostKeyChecking on" | sudo -u haki tee /home/haki/.ssh/config >/dev/null
|
||||
|
Loading…
x
Reference in New Issue
Block a user