# After enabling SSH routing https redirect is broken

**URL:** <https://community.traefik.io/t/after-enabling-ssh-routing-https-redirect-is-broken/5137>\
**Category:** Traefik v2\
**Tags:** tcp\
**Created:** [March 26, 2020, 4:12pm UTC](https://community.traefik.io/t/after-enabling-ssh-routing-https-redirect-is-broken/5137 "2020-03-26T16:12:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sprnza](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/sprnza/32/814_2.png) [@sprnza](https://community.traefik.io/u/sprnza)\
**Post date:** [March 26, 2020, 4:12pm UTC](https://community.traefik.io/t/after-enabling-ssh-routing-https-redirect-is-broken/5137/1 "2020-03-26T16:12:30Z")

</div>

I've configure SSH routing like this:

```auto
tcp:
  routers:
    my_ssh:
      entrypoints:
        - my-ssh
      rule: "HostSNI(`*`)"
      service: my-ssh
  services:
    joe-ssh:
      loadBalancer:
        servers:
        - address: 10.0.0.1:22

```

Here is how I configure stuff:

```auto
http:
  routers:
    router_http:
      entrypoints:
        - http
      rule: "Host(`joe.example.com`)"
      service: joe
      middlewares:
        - https-redirect
    jira_https:
      entrypoints:
        - https
      rule: "Host(`joe.example.com`)"
      service: joe
      tls: {}
   services:
    joe:
      loadBalancer:
        servers:
          - url: http://10.0.0.1:8080
  middlewares:
    https-redirect:
      redirectScheme:
        scheme: https
        permanent: true

```

Entrypoints:

```auto
entryPoints:
  http:
    address: ":80"
  https:
    address: ":443"
  my-ssh:
    address: ":7999"

```

And after this https redirect and dashboard are broken. Showing this:

```auto
SSH-2.0-APACHE-SSHD-2.2.0
Unsupported protocol version: GET / HTTP/1.1

```

Which means that requests are being routed to the SSH port I suppose.  
How could I keep everything working and route SSH trafic?
