# SSH access is turned off

Rebasely no longer offers git over SSH. Clone, fetch and push over HTTPS instead: it has the same permissions, limits and answers.

## Use HTTPS

The Rebasely CLI signs git in with an access token you approve in the browser:

```
rebasely auth login
```

Or create an [access token](https://rebasely.com/settings/tokens) and paste it when git asks for a password. [Getting started](https://rebasely.com/docs/start) has the full steps.

## Switch an existing clone

Point a repository that used an SSH remote at its HTTPS address:

```
git remote set-url origin https://rebasely.com/<org>/<repo>.git
```

Your SSH keys stay listed in your [SSH key settings](https://rebasely.com/settings/ssh), where you can remove them.

If you set up SSH with `rebasely ssh setup` before, you can delete the Rebasely block at the top of `~/.ssh/config`.

A connection refused with `ssh_off` means the same thing: SSH is off, use HTTPS.

---

Source: https://rebasely.com/docs/ssh
