Files
iddaai-be/copy_key.exp
T
fahricansecer 7814e0bc6b
Deploy Iddaai Backend / build-and-deploy (push) Failing after 4s
first (part 1: root files)
2026-04-16 15:09:10 +03:00

11 lines
417 B
Plaintext

#!/usr/bin/expect -f
spawn ssh -p 2222 -o StrictHostKeyChecking=accept-new haruncan@95.70.252.214 "mkdir -p ~/.ssh && echo 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGo7pRd2fozEvxIultfwgoajgNOzc0RVywcqrqgZho62 piton@Pitons-MacBook-Air.local' >> ~/.ssh/authorized_keys && chmod 700 ~/.ssh && chmod 600 ~/.ssh/authorized_keys"
expect {
"assword:" {
send "M594xH%\$iM&4MM\r"
exp_continue
}
eof
}