5
1
I'm having problems with SSH. I can't connect to anything; every connection hangs indefinitely at SSH2_MSG_SERVICE_ACCEPT RECEIVED. I'm on OSX 10.6.8.
I'm thinking that it's a problem with my SSH configuration, but I can't figure it out. I have the original openssh that came with os x installed in /usr/bin/, and a brewed installation in /usr/local/bin/. I'm using the homebrew one - is there possibly some conflict going on here?
Any ideas on solutions or what could be causing this? Here is my ssh_config:
Host *
# ForwardAgent no
# ForwardX11 no
# RhostsRSAAuthentication no
# RSAAuthentication yes
# PasswordAuthentication yes
# HostbasedAuthentication no
# GSSAPIAuthentication no
# GSSAPIDelegateCredentials no
# GSSAPIKeyExchange no
# GSSAPITrustDNS no
# BatchMode no
# CheckHostIP yes
# AddressFamily any
# ConnectTimeout 0
# StrictHostKeyChecking ask
IdentityFile ~/.ssh/identity
IdentityFile ~/.ssh/id_rsa
IdentityFile ~/.ssh/id_dsa
Port 22
# Protocol 2,1
Cipher 3des
Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160
# EscapeChar ~
# Tunnel no
# TunnelDevice any:any
# PermitLocalCommand no
# VisualHostKey no
My connection also stopped at
– Joel Purra – 2015-07-25T10:15:42.107SSH2_MSG_SERVICE_ACCEPT
-- turned out myssh-agent
wasn't started/properly initiated. https://serverfault.com/questions/484977/ssh-sftp-connections-fails-silently-on-osx-10-8-2-ssh-agent-issueSo, you have a Mac running 10.6.8 that you're trying to use as an SSH client, but you see this hang, no matter what "ssh server" (host running sshd) you try to connect to. How many different ssh server hosts have you tried to connect to? What were they running? How did they have sshd configured? Your question almost makes it sound like you edited sshd_config on your ssh client machine and wondered why that didn't make a difference. sshd is the server side of ssh; it only matters on the machine you're connecting to, not the machine you're connecting from. – Spiff – 2013-10-04T00:03:36.973
no, i totally did edit my own sshd config file thinking it might somehow do something..lol. i've tried to SSH to an EC2 instance, to heroku's git server, to my local university's SSH server, etc, getting the same error each time. I don't know what their sshd configurations are, but I've been able to connect to them in the past, so i'm pretty sure it's a problem with my client configuration. – user2594363 – 2013-10-04T00:37:39.803
Try using one of those "what is my IP" websites to see what the rest of the world sees as your IP address and hostname. If it doesn't give you a host name, your site may not have reverse-dns set up correctly. If it does give you a host name, use an external DNS lookup website to look up the IP address for that hostname, and make sure it points to your machine's public IP address. – Spiff – 2013-10-04T04:46:33.067
my hostname seems correct - shows up as "my.ip.address.myISP.net". DNS lookup of the hostname gave the correct IP address. – user2594363 – 2013-10-04T21:40:20.153