gerwim Posted January 5, 2011 Share Posted January 5, 2011 Hi, Is there any way to read the putty output? Since I want to make an auto-login for PuTTY I need to know wheter a login was succesful or not. Thanks! Link to comment Share on other sites More sharing options...
LurchMan Posted January 5, 2011 Share Posted January 5, 2011 Hi,Is there any way to read the putty output? Since I want to make an auto-login for PuTTY I need to know wheter a login was succesful or not.Thanks!What might be the easiest way is to enable logging and read the log file to see if it logged in. Dating a girl is just like writing software. Everything's going to work just fine in the testing lab (dating), but as soon as you have contract with a customer (marriage), then your program (life) is going to be facing new situations you never expected. You'll be forced to patch the code (admit you're wrong) and then the code (wife) will just end up all bloated and unmaintainable in the end. Link to comment Share on other sites More sharing options...
ZacUSNYR Posted January 5, 2011 Share Posted January 5, 2011 Never messed around with it but check out Plink http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html From reading people here say you can use StdoutRead and StdinWrite to read/write the session. Link to comment Share on other sites More sharing options...
gerwim Posted January 5, 2011 Author Share Posted January 5, 2011 Never messed around with it but check out Plink http://www.chiark.greenend.org.uk/~sgtatham/putty/download.htmlFrom reading people here say you can use StdoutRead and StdinWrite to read/write the session.Awesome, thanks! Using StdinWrite and it works =) (So does read, hehe ;-)) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now