I want to implement SCP (Secure Copy) functionality in my Java application to copy a file from the SSH server to another machine. My java application must be FIPS compliant and hence it uses SunPKCS11 provider to interface with the underlying NSS key database.
To implement the SCP functionality, we can use any of the following SSH libraries for Java:
- JSch
- vngx-jsch
- Apache MINA SSHD
- Ganymed SSH-2
- sshj
- SSHTools
I have the following questions regarding these SSH libraries:
- Are any of the above libraries FIPS certified?
- If not FIPS certified, are the algorithms (cipher, key exchange, MAC etc...) used FIPS compliant?
- Are there any other FIPS certified/compliant SSH libraries for Java?
The following links seem to suggest that JSch is NOT FIPS compliant: