Sign in to follow this  
Followers 0

ssh client, wait for login and password prompt

2 posts in this topic

#1 ·  Posted (edited)

some telnet or ssh server need a while to react and offer their login prompts after your

sleep() has expired :-) or long before it expires (makes your users clicking and hacking)

This, written for PuTTY, overcomes it. It recognizes when login: and password: appear

Though... its a lot of code for this simple problem. Any ideas??

Edited by doj


Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0