I can not ssh to any computer from my mac

I absolutely know it is not the network blocking me and know that the machines I am trying to connect to have sshd on them and its working.


From any other machine on the same network, they have no problem connecting.


I always get an 'Operation timed out'


Output:


name:~ user$ sudo ssh -vvv user@ip

OpenSSH_7.6p1, LibreSSL 2.6.2

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: /etc/ssh/ssh_config line 48: Applying options for *

debug2: ssh_connect_direct: needpriv 0

debug1: Connecting to 10.56.6.22 port 22.

ssh: connect to host 10.56.6.22 port 22: Operation timed out



Config:


# Host *

# ForwardAgent no

# ForwardX11 no

# PasswordAuthentication yes

# HostbasedAuthentication no

# GSSAPIAuthentication no

# GSSAPIDelegateCredentials no

# BatchMode no

# CheckHostIP yes

# AddressFamily any

# ConnectTimeout 0

# StrictHostKeyChecking ask

# IdentityFile ~/.ssh/id_rsa

# IdentityFile ~/.ssh/id_dsa

# IdentityFile ~/.ssh/id_ecdsa

# IdentityFile ~/.ssh/id_ed25519

# Port 22

# Protocol 2

# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc

# MACs hmac-md5,hmac-sha1,umac-64@openssh.com

# EscapeChar ~

# Tunnel no

# TunnelDevice any:any

# PermitLocalCommand no

# VisualHostKey no

# ProxyCommand ssh -q -W %h:%p gateway.example.com

# RekeyLimit 1G 1h


Host *

SendEnv LANG LC_*

IMac G5, Mac Book Pro, Mac OS X (10.5.5)

Posted on Sep 6, 2018 9:44 AM

Reply

Similar questions

3 replies

Sep 6, 2018 10:47 AM in response to J.R.G.

Initially, it appears that there's no network route to the target ssh server, or the target server is down, or that there is no ssh server running on the target server. I know you state it's not the network, but what's showing here is the network. And if you've discussed this with a network support team and they've told you it's not the network, assume it's the network. 10/8 is a common private network and not an example IP network, so I'll assume that this network configuration is an entirely a private network, and that the open internet is not in use here. traceroute and ping to start with, and maybe a port scan on the target server to confirm that an ssh server has TCP port 22 open. Check for proper vLAN configuration and that any intervening firewalls aren't blocking the connection. Also check the ssh server logs on the target server for clues. And confirm that the target ssh server isn't running a fossil version of ssh, though that doesn't initially appear to be the case here. If you've made any local ssh configuration changes, back those out, reboot, and test again.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

I can not ssh to any computer from my mac

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.