11 lines
147 B
Bash
11 lines
147 B
Bash
#!/usr/bin/sh
|
|
|
|
set -x
|
|
|
|
chown root:root /root/.ssh/root
|
|
netplan apply
|
|
ssh-keygen -A
|
|
systemctl restart sshd
|
|
|
|
date --iso-8601=s > /root/init_date.txt
|