Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssh client does not connect to the yggdrasil node. #1129

Open
mbakhterev opened this issue Feb 21, 2024 · 1 comment
Open

ssh client does not connect to the yggdrasil node. #1129

mbakhterev opened this issue Feb 21, 2024 · 1 comment

Comments

@mbakhterev
Copy link

I have a strange problem: connection to http server works, connection to SSH server with telnet works, connection to ssh server with ssh client does not work. It hangs after setting ipv6_tclass. Here is the log of commands.

$ curl http://[my:server:address]:8080/does-not-exists
<html><head><title>404 Not Found</title></head><body>
<h1>Not Found</h1>
The URL you requested was not found.
<hr>
Generated by darkhttpd/1.15 on Wed, 21 Feb 2024 19:46:40 GMT
</body></html>

$ telnet my:server:address 22
Trying my:server:address...
Connected to my:server:address.
Escape character is '^]'.
SSH-2.0-OpenSSH_9.6
^]
telnet> 
Connection closed.

$ ssh -vvv me@my:server:address
OpenSSH_9.6p1, OpenSSL 3.2.1 30 Jan 2024
debug1: Reading configuration data /maintain/.ssh/config
debug1: /user/.ssh/config line 1: Applying options for *
debug1: /user/.ssh/config line 5: Applying options for my:server:address
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 2: include /etc/ssh/ssh_config.d/*.conf matched no files
debug2: resolve_canonicalize: hostname my:server:address is address
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/user/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/user/.ssh/known_hosts2'
debug3: channel_clear_timeouts: clearing
debug3: ssh_connect_direct: entering
debug1: Connecting to my:server:address [my:server:address] port 22.
debug3: set_sock_tos: set socket 3 IPV6_TCLASS 0x48
debug1: connect to address my:server:address port 22: Connection timed out
ssh: connect to host my:server:address port 22: Connection timed out

Excuse me for hiding my Yggdrasil address.

@immartian
Copy link

did you test ipv4 ssh?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants