Added the logic for ussing ssh inception

Also, corrected several bugs related to the ssh.py and added a test
that uses such technology.
Merge pull request #22 from alvico/ap_rebase

Added the logic for ussing ssh inception