Add test code for non sshkey and port
Merge pull request #55 from lazy-night/dev/api

Add test code for non sshkey and port