bastion update

This commit is contained in:
havelight-ee
2023-06-28 15:48:32 +09:00
parent 90de942c4a
commit e3a240bc41
28 changed files with 649 additions and 13 deletions

View File

@@ -2,7 +2,7 @@
set password [lindex $argv 0]
set host [lindex $argv 1]
spawn ssh-copy-id -o StrictHostKeyChecking=no ubuntu@$host
spawn ssh-copy-id -o StrictHostKeyChecking=no root@$host
expect "password:"
send "$password\n"
expect eof