View Full Version : SSH not connecting - iPhone 3.0 and Snow Leopard
hellomoto4
Sep 1, 2009, 09:57 AM
Ever since I got Snow Leopard, SSH to my iPhone 3G hasn't worked.
I am always getting this message on terminal:
bens-macbook-2:~ ben$ ssh root@192.168.0.9
ssh: connect to host 192.168.0.9 port 22: Operation timed out
I've tried everything I can think of:
- Redownload OpenSSH on Cydia
- Made sure SSH is enabled on my iPhone
- Made sure the iPhone is active and the screen is on the home springboard page
- Tried connecting via Transmit
- My password is still alpine
- Tried deleting known_hosts from /~/.ssh/ but no luck
- I am definitely connecting on the correct IP address too.
What else can I do to get SSH back working between my iPhone and Macbook running SL?
Thanks
bytethese
Sep 1, 2009, 12:09 PM
Ever since I got Snow Leopard, SSH to my iPhone 3G hasn't worked.
I am always getting this message on terminal:
bens-macbook-2:~ ben$ ssh root@192.168.0.9
ssh: connect to host 192.168.0.9 port 22: Operation timed out
I've tried everything I can think of:
- Redownload OpenSSH on Cydia
- Made sure SSH is enabled on my iPhone
- Made sure the iPhone is active and the screen is on the home springboard page
- Tried connecting via Transmit
- My password is still alpine
- Tried deleting known_hosts from /~/.ssh/ but no luck
- I am definitely connecting on the correct IP address too.
What else can I do to get SSH back working between my iPhone and Macbook running SL?
Thanks
Can you ping your iPhone's IP address and get a reply?
dhlizard
Sep 1, 2009, 03:45 PM
CyberDuck 3.3b1 works under SL.
hellomoto4
Sep 1, 2009, 06:15 PM
Can you ping your iPhone's IP address and get a reply?
Last login: Tue Sep 1 23:46:26 on ttys000
bens--macbook-2:~ ben$ ping 192.168.0.9
PING 192.168.0.9 (192.168.0.9): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
ping: sendto: No route to host
Request timeout for icmp_seq 4
ping: sendto: Host is down
Request timeout for icmp_seq 5
ping: sendto: Host is down
Request timeout for icmp_seq 6
ping: sendto: Host is down
Request timeout for icmp_seq 7
ping: sendto: Host is down
Request timeout for icmp_seq 8
ping: sendto: Host is down
Request timeout for icmp_seq 9
ping: sendto: Host is down
Request timeout for icmp_seq 10
ping: sendto: Host is down
Request timeout for icmp_seq 11
ping: sendto: Host is down
Request timeout for icmp_seq 12
ping: sendto: Host is down
Request timeout for icmp_seq 13
ping: sendto: Host is down
Request timeout for icmp_seq 14
ping: sendto: Host is down
Request timeout for icmp_seq 15
ping: sendto: Host is down
Request timeout for icmp_seq 16
ping: sendto: Host is down
Request timeout for icmp_seq 17
hellomoto4
Sep 2, 2009, 03:30 AM
CyberDuck 3.3b1 works under SL.
Also not working.
I assume it's an iPhone error as its not even connecting (nor pinging)
hellomoto4
Sep 5, 2009, 09:46 AM
Further information gathered:
After trying to connect on a friend's wireless network, it connected seamlessly.
Could it be a problem with my router settings?
Thanks
csrx
Sep 8, 2009, 09:12 AM
I have a solution for you. Snow Leopard has this disabled by default.
Modify the file /etc/ssh_config to get it working.
Change
# Host *
# ForwardAgent no
into
Host *
ForwardAgent yes
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.