If you refer to https://github.com/rtyley/toy-android-ssh-agent, then it is relased under GPLv3.
Given this statements, under the terms of the GPL license, you have either to release your entire work under the same license, or to remove all offending source code from your codebase, or to negotiate a different agreement with the copyright owners of those software.
Please note that GPLv2 and GPLv3 are incompatible: however, usually when people apply GPL they write "either version of the License, or (at your option) any later version.". If that is the case, you can redistribute under GPLv3. Otherwise, you cannot use code from both projects in your program. You can check that in the first lines of the files from where you took code.
Hi, In your about page, and your website, you state
If you refer to https://github.com/rtyley/toy-android-ssh-agent, then it is relased under GPLv3. Given this statements, under the terms of the GPL license, you have either to release your entire work under the same license, or to remove all offending source code from your codebase, or to negotiate a different agreement with the copyright owners of those software.
Please note that GPLv2 and GPLv3 are incompatible: however, usually when people apply GPL they write "either version of the License, or (at your option) any later version.". If that is the case, you can redistribute under GPLv3. Otherwise, you cannot use code from both projects in your program. You can check that in the first lines of the files from where you took code.
Here is a link to the full text of the GPL license; the section I believe you are violating is section 5. http://www.gnu.org/licenses/gpl-3.0.html