I have a text file on a unix machine containing the SSH user name and password that someone might use to connect to it.
How do I verify that the user name and password are valid using Java?
Do I try to SSH connect to the same machine by using Runtime.exec()?
I can grep for the user /etc/passwd. But, the password is shadowed.
I'd appreciate any suggestions.