Blame tests/p_openssh/_helper_sshd_user_login-with-key.expect
|
Karanbir Singh |
c127b6 |
#!/usr/bin/expect -f
|
|
Karanbir Singh |
c127b6 |
# Author: Athmane Madjoudj <athmanem@gmail.com>
|
|
Karanbir Singh |
c127b6 |
|
|
Karanbir Singh |
c127b6 |
set timeout 2
|
|
Karanbir Singh |
c127b6 |
spawn ssh -o StrictHostKeyChecking=no sshtest@localhost /bin/cat ssh_test_file
|
|
Karanbir Singh |
c127b6 |
send -- "\r"
|
|
Karanbir Singh |
c127b6 |
expect eof
|