Created
May 31, 2013 17:38
-
-
Save hub-cap/5686589 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| expect -c " | |
| spawn sudo -Hiu baz /usr/bin/ssh-keygen -f ~baz/id_rsa -q | |
| expect \"empty for no passphrase\" | |
| send \n | |
| expect assphrase | |
| send \n | |
| expect eof" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment