I have asked a question before in here. My question was that I tried to give my password to scp via piping
echo mypassword | scp email@example.com:project/* ~/project/
However it still asks me to manually input the password. How should I specify mypassword to scp in commands?
I still don't understand one of the replies. what is a input stream by TTY, for example? What are the common ways for a input stream? How to know what type of input stream a stdin input to a command is? For example that of ssh/scp.