cloudflare / cloudflare/cloudflared

Blank SSH🐛

Open
#1,246 1 comment 1 reaction 0 assignees View on GitHub
Priority: Normal Type: Bug
Dominant language
Go
Stars
15.6k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
A clear and concise description of what the bug is.
I am trying to use a tunnel "cloudflared tunnel --url localhost:2222" to be able to remotely ssh to my server and the program works but when i try to ssh the domain it stays shut not even the password prompt.

**To Reproduce**
Steps to reproduce the behavior:
1. Configure 'any ssh server on port 22 or 2222'
2. Run 'cloudflared tunnel --url localhost:yourdesiredport'
3. Attempt to connect to the ssh tunnel. (If you have success please tell me how to recreate these steps)

If it's an issue with Cloudflare Tunnel:
4. Tunnel ID : Not an issue with cloudflared
5. cloudflared config: None (Free Version)

**Expected behavior**
A clear and concise description of what you expected to happen.

I just ssh into the domain that was given to me and it just worked.

**Environment and versions**
- OS: [Linux Ubuntu (Both machines)]
- Architecture: [AMD64]
- Version: [latest]

**Logs and errors**
If applicable, add logs or errors to help explain your problem.
There are NO errors in the program but does not respond to ssh so no log needed.

**Additional context**
Add any other context about the problem here.

I am planning to buy a static domain in the future but first i wanna see if i can get ssh working through the free ones.

UPDATE:
Got this error from ssh after 5 minutes:
ssh: connect to host table-products-seminars-cbs.trycloudflare.com (domain ceased) port 2222: Network is unreachable
Thats odd because i can tell the domain is UP as i can get the 502 error when i use my browser (i used cloudflared to do http request in the past as well so it was definetly NOT DOWN) maybe it has to be on tcp mode and i dont know how to explicitly activate tcp mode?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.