colab-ssh icon indicating copy to clipboard operation
colab-ssh copied to clipboard

[Bug]: ERR failed to connect to origin error="tls: first record does not look like a TLS handshake"

Open 0xrushi opened this issue 2 years ago • 4 comments

Jupyter notebook

Google Colab

What happened?

I have this in my ~/.ssh/config

Host *.trycloudflare.com
	HostName %h
	User root
	Port 22
	ProxyCommand /usr/bin/cloudflared access ssh --hostname %h

But I'm getting

$ ssh translate-million-vienna-birth.trycloudflare.com            
                                                                                                                    
2022-05-09T12:09:10Z ERR failed to connect to origin error="tls: first record does not look like a TLS handshake" originURL=https://translate-million-vienna-birth.trycloudflare.com
tls: first record does not look like a TLS handshake
kex_exchange_identification: Connection closed by remote host
Connection closed by UNKNOWN port 65535

What did you expect?

successful ssh

Version

  • [X] latest

Which version (if not the latest)?

No response

Relevant log output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

0xrushi avatar May 09 '22 12:05 0xrushi

Hello @rushic24, happy to see you here.

Apologies for the late reply, I have been very busy with work. I will be looking into the problem you raised this weekend.

Sorry for inconvenience 🙏

WassimBenzarti avatar May 12 '22 02:05 WassimBenzarti

@WassimBenzarti FYI, Google updated the colab FAQ (https://research.google.com/colaboratory/faq.html) and disallowed SSH. It is extremely easy to get permanent ban now.

Covernel avatar May 21 '22 12:05 Covernel

Thank you @Covernel for informing me of this change. I will update the README.md.

Edit: updated the README.md

WassimBenzarti avatar May 21 '22 16:05 WassimBenzarti

Oh, I think even before it was not allowed

0xrushi avatar May 21 '22 17:05 0xrushi