/usr/share/sadms-2.0.15/keyload.expect is in sadms 2.0.15.repack-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | # bbou@ac-toulouse.fr
# 2005-08-15 08:23:21
# expect-keyload
set KEY [lindex $argv 0]
set PASSPHRASE [lindex $argv 1]
#send_user "The password for key: "
#stty -echo
#expect_user -re "(.*)\n" {set PASSPHRASE $expect_out(1,string)}
#send_user "\n"
#stty echo
set timeout -1
log_user 0
spawn ssh-add $KEY
expect {
"Enter passphrase for $KEY:"
{
send "$PASSPHRASE\n"
}
}
log_user 0
expect "Identity added:"
expect eof
|