Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # The beginning isn't important
- expect -exact "r
- Please enter your username and password.r
- Username:"
- send -- "my-usernamer"
- expect -exact "my-usernamer
- Password:"
- send -- $(lpass show --password service im connecting to)
- expect -exact "r
- # The rest of the expect script follows
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement