Tunnel SSH SetUp Help

I am trying to setup ssh on my Raspberry Pi via a tunnel. I tried flollowing this guide. I created the .ssh/config file with the following content
Host ssh.xxxx.dev
ProxyCommand /usr/local/bin/cloudflared access ssh --hostname %h
Host ssh.xxxx.dev
ProxyCommand /usr/local/bin/cloudflared access ssh --hostname %h
When I ping the sub domain I get results. but when I try connecting via ssh I get this:
xxxx@DESKTOP-2161:~$ ssh -vvv [email protected]
OpenSSH_8.9p1 Ubuntu-3ubuntu0.10, OpenSSL 3.0.2 15 Mar 2022
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/xxxx/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/xxxx/.ssh/known_hosts2'
debug2: resolving "ssh.xxxx.dev" port 22
debug3: resolve_host: lookup ssh.xxxx.dev:22
debug3: ssh_connect_direct: entering
debug1: Connecting to ssh.xxxx.dev [xxxx] port 22.
debug3: set_sock_tos: set socket 3 IP_TOS 0x10
xxxx@DESKTOP-2161:~$ ssh -vvv [email protected]
OpenSSH_8.9p1 Ubuntu-3ubuntu0.10, OpenSSL 3.0.2 15 Mar 2022
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/xxxx/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/xxxx/.ssh/known_hosts2'
debug2: resolving "ssh.xxxx.dev" port 22
debug3: resolve_host: lookup ssh.xxxx.dev:22
debug3: ssh_connect_direct: entering
debug1: Connecting to ssh.xxxx.dev [xxxx] port 22.
debug3: set_sock_tos: set socket 3 IP_TOS 0x10
Any ideas?
If you need any more information to help me feel free to ask
No description
No description
5 Replies
Ayato
AyatoOP3mo ago
pi@raspberrypi:~ $ stat /usr/local/bin/cloudflared
File: /usr/local/bin/cloudflared -> /usr/bin/cloudflared
pi@raspberrypi:~ $ stat /usr/local/bin/cloudflared
File: /usr/local/bin/cloudflared -> /usr/bin/cloudflared
Just a typo here on discord, everything has .dev
Erisa
Erisa3mo ago
well the ssh log shows that the ssh config entry isn't working, and since you're not showing the full thing on discord and it depends on local quirks we can't really help with that
Ayato
AyatoOP3mo ago
What am I not showing? Do you mean the url? if it is really necessary I could replace the xxxx with my url, but I don’t know how that would help
Erisa
Erisa3mo ago
all I can see from those logs is that the ssh config entry isnt being included, I cant begin to fathom why that is the case with the information youve supplied, youre right that adding the domain wont add much value but what I mean is there may be a mismatch or mistake that i cant tell because everything here looks good
Ayato
AyatoOP3mo ago
Hmm ok, too bad Thanks anyway
Want results from more Discord servers?
Add your server