read echo password and login to remote server
How can I access remote server to echo my root password on screen and then read from stdin ,,, any clue or tips on that
echo password | ssh --stdin "email@example.com"
when I tried it local it give an error
[root@localhost ~]# echo password | ssh --stdin "firstname.lastname@example.org"
Pseudo-terminal will not be allocated because stdin is not a terminal.
Last edited by ravibhure; 06-18-2009 at 02:01 AM.