we run a command immediately after login and get its output using -t flag.
ssh -t [email protected] -p 2220 "cat readme"
we get the psswd, save it and exit.
we run a command immediately after login and get its output using -t flag.
ssh -t [email protected] -p 2220 "cat readme"
we get the psswd, save it and exit.