Minor method implementation.

Implemented method: setSSHKey() and removed some unecessary code.