Why does an SSH connection from a MacBook Pro to Fedora laptop timeout in Terminal app with no connection?
2
votes
1
answer
93
views
SSH from MacBook Pro to Fedora laptop times out consistently, when using SSH command from ZSH (Terminal app). Yet I'm able to connect to the Fedora laptop using my smartphone or even an SSH app on same MacBook. Same port, same Ip address, same credentials.
Initially I was able to rsync to same Fedora laptop just fine, then for no reason rsync failed in the middle, and since then neither SSH nor rsync work. Restarting Fedora laptop helps, but then after another rsync session not able to SSH again.
What can be a problem here?
ssh -vvv user@10.0.0.199
OpenSSH_9.8p1, OpenSSL 3.3.1 4 Jun 2024
debug1: Reading configuration data /opt/homebrew/etc/ssh/ssh_config
debug2: resolve_canonicalize: hostname 10.0.0.199 is address
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/user/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/user/.ssh/known_hosts2'
debug3: channel_clear_timeouts: clearing
debug3: ssh_connect_direct: entering
debug1: Connecting to 10.0.0.199 [10.0.0.199] port 22.
debug3: set_sock_tos: set socket 3 IP_TOS 0x48
debug1: connect to address 10.0.0.199 port 22: Operation timed out
ssh: connect to host 10.0.0.199 port 22: Operation timed out
Asked by user3321467
(41 rep)
Aug 17, 2024, 10:49 PM
Last activity: May 16, 2025, 02:15 AM
Last activity: May 16, 2025, 02:15 AM