summaryrefslogtreecommitdiff
path: root/bench-session
blob: b817f8c71cb75b9e52f1f0fb3dcb4a0a8469c0ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
echo "Hostname for early debugging: $(cat /etc/hostname)"
echo "IP address for early debugging: $(hostname -I)"

mkdir -p ~/.ssh/
echo "$1" >> ~/.ssh/authorized_keys
echo "Public Key Installed: $1"

/etc/init.d/ssh restart
echo "sshd re-started"

lava-network broadcast eth0
sleep infinity