Refactor SSH to work minus forwarding