Code Comments
Programming Forum and web based access to our favorite programming groups.Gentle People,
I want to use ssh to login. I want to hard code the password. I tried
to use following line
system ("ssh user@hostname <<INPW
password_goes_here
INPW
");
I get following error message.
Pseudo-terminal will not be allocated because stdin is not a terminal.
And program will ask to type password manually.
Any help will be greatly appreciated.
Regards
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.