You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
QA/tests/p_openssh/_helper_sshd_user_login.expect

11 lines
228 B

#!/usr/bin/expect -f
# Author: Athmane Madjoudj <athmanem@gmail.com>
set timeout 2
spawn ssh -o StrictHostKeyChecking=no sshtest@localhost /bin/ls
match_max 6000
expect "*?assword:*"
send -- "sshtest\r"
send -- "\r"
expect eof