Fixing bug at getPublicSSHAddress