Each time I run a command like this
ssh [email protected]
I've to type in the ssh password.
Each time I run a command like this
git push origin master
(pushing code to github)
I've to type in the github password.
Is there any bash thing to write these password inline with the command?
I mean something like
git push origin master < 'mypass'
or
git push origin master | 'mypass'
echo "something" | git push origin masterto feed input expected by the second command. I'm not sure if it will work in this case.gut push origin master <<< "mypass".ps.