I'm trying for several days now to jailbreak my atv 2 with seas0npass an pwnage tool. Finally I the jailbreak with seas0npass did work and now I have the issue like you guys. No ssh connection on my Mac. Not with Cyberduck, not with the terminal. I've searched a lot through the Internet and I found two possible solution. But both of them haven't worked for me. But probably for one of you guys:
First: Many posts in forums the answer to connection refused port:22 is to activate the remote login in the preferences (System Preferences > Sharing > Remote Login > Start):
Second: Another guy posted a howto for getting XBMC on atv2 (I want to this too). At the end of his post he posted a troubleshooting tip for the connection refused message:
As a side note, I had issues getting my MacBook to connect to my AppleTV via SSH. I kept getting connection refused or invalid host errors. There is a file on your Mac you can delete in order to stop these errors (not sure where it would be located on a PC if anyone wants to chime in here). You’ll need to unhide files on your Mac first. You can do that by following the steps below.
1- Open Terminal and type (or copy/paste): defaults write com.apple.finder AppleShowAllFiles TRUE and hit “enter”.
2- Type (or copy/paste): killall Finder
That should unhide all of the hidden files on your Mac. Now you should be able to navigate to /Users/username (in my case Ally)/.ssh and delete the file titled “known_hosts”. It should be the only file in that folder. Then try the above steps again.
Only some of you may need to do this but I figured I’d throw it in there for anyone who has issues connecting via SSH to their AppleTV.
Sharing is Caring .. »
I hope this does help some of you guys. If anyone finds a way to get this working I would appreciate a post in here.