Added a check for file length/size and an array to check that file.
Verified against manually selecting the id_rsa, and also browsing to other id_rsa.named files that exist in another folder. All worked properly.
Verified that failures still occur when unable to connect.
Did not verify a PEM file, which was the initial report since I do not have any PEMs to test against.
Added a check for file length/size and an array to check that file.
Verified against manually selecting the id_rsa, and also browsing to other id_rsa.named files that exist in another folder. All worked properly. Verified that failures still occur when unable to connect. Did not verify a PEM file, which was the initial report since I do not have any PEMs to test against.