> > 1. I can't use public key authentication. > 2. I can't install sshpass or expect package on that server. > 3. No spawn command available. > 4. Can't install any other package on server. > 5. All servers are REDHAT 5.5
Take the source code of openssh-client and change the part that accepts the password from the keyboard. What you need to find is how basic file i/o works in C which is straightforward. -- Mailing list guidelines and other related articles: http://lug-iitd.org/Footer
