I wanted to generate some one time passwords to allow a friend to login 10 times via scp to download some stuff. Sounds strange but I wanted to ensure that he is not using the account for anything else.
So there are two things todo:
Generate one time passwords
Lock a user to scp only
Let's...