http://www.ganymed.ethz.ch/ssh2/ is the perfect library for making common SSH/SCP calls. It even support SFTP. I am using it in my management platform application. I included the source package with mine, as well as the software license. I hope that is adequate for anyone seeking to ensure I am not violating any laws in regard to sharing source. I have also made a good effort to publicize my use of this code, as to not insinuate that it is in any way mine.