115 posts / 0 new / Last post
#1  May 26, 2012 - 4:38am
Joel09's picture
Offline
Joined: May 2012
Posts: 4
Kudos: 0

Hi,

I recently updated by jailbreak to the seasonpass 5.01 untethered jailbreak. Everything installed fine and I see the FC logo on the settings icon on the Apple TV home screen.

The Apple TV is connected to my home wifi with the IP 192.168.1.14

I open up cyberduck, put in the IP address from my apple TV (192.168.1.14) and I get connection time out, I can't work out whats wrong, never had a problem with SSH before.

 Even when I ping it I get destination host unreachable, but switching to the Apple TV Netflix and everything else working with no problems.

 

First I thought that SSH itself maybe didnt install properly on the jailbreak, so I re-jailbroke it but unfortunately have the same issue.

 

Regards

  May 26, 2012 - 5:23am
mith's picture
Offline
Joined: Feb 2012
Posts: 2
Kudos: 0

I have same issue, has the root password changed in this version of ATV flash black 1.5.1?

  May 26, 2012 - 9:23am
jonez's picture
Offline
Joined: Feb 2012
Posts: 121
Kudos: 0

It should be root:alpine as in previous releases, are you sure that's the correct IP? If you can't ping it it's probably wrong. If your router is set to assign IP's automatically it may have used a different IP this time.

  May 26, 2012 - 11:25am
Joel09's picture
Offline
Joined: May 2012
Posts: 4
Kudos: 0

Is definately the right IP. I've even checked on my router homepage aswell as on the apple TV. It's like there is no ssh server on the apple tv as far as I can see.

 

Still having no joy with it.

  May 26, 2012 - 2:12pm
Yuri1's picture
Offline
Joined: May 2012
Posts: 1
Kudos: 0

I'm getting a similar error.  SSH connections worked fine until I restarted the AppleTV, and now not letting me connect.  I've tried connecting over Wifi and Ethernet and getting the same problems with both.

The error I get is

 

my-imac:~ yuri$ ssh -v root@apple-tv.local

OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011

debug1: Reading configuration data /etc/ssh_config

debug1: Applying options for *

debug1: Connecting to apple-tv.local [192.168.1.113] port 22.

debug1: Connection established.

debug1: identity file /Users/yuri/.ssh/id_rsa type -1

debug1: identity file /Users/yuri/.ssh/id_rsa-cert type -1

debug1: identity file /Users/yuri/.ssh/id_dsa type -1

debug1: identity file /Users/yuri/.ssh/id_dsa-cert type -1

ssh_exchange_identification: Connection closed by remote host

  May 27, 2012 - 5:22am
Joel09's picture
Offline
Joined: May 2012
Posts: 4
Kudos: 0

Mine won't connect atall, just get connection timeout, putty, cyberduck.. IP is definately right.. can only give up for now.

  May 27, 2012 - 6:51am
ChrisOSX's picture
Offline
Joined: May 2012
Posts: 6
Kudos: 0

I'm using transmit, and I had to manually clear out my .ssh host names on my Mac. I am however not directly connecting to a i.p. as I'm using Bonjour (name+password, done)

But logging into my ATV with terminal is fine.

ssh root @Apple-TV.local (no space)

alpine

  May 27, 2012 - 4:43pm
11dreamsbig's picture
Offline
Joined: Jan 2012
Posts: 34
Kudos: 0

I'm having the same issues with trying to SSH in. Cyber Duck "Connection Failed" Premature connection close. Same with Winscp. I've restarted Apple TV, refreshed router, double checked IP address- have not set up any passwords- using (my IP address) root/alpine  Open SSH says it's installed- have updated Nito....

Was able to get in and at least put some repos in yesterday- any idea how to fix this? Many thank FireCore for any help.

The world breaks everyone, and afterward, some are strong at the broken places.
Ernest Hemingway

  May 28, 2012 - 11:00am
emueses's picture
Offline
Joined: May 2012
Posts: 7
Kudos: 0

Having the same problem here... I was connecting fine and all the sudden after Nito Updated last time now I can connect through SSH.

Running SSH in debug mode also bring the same error:

OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011
debug1: Reading configuration data /etc/ssh_config
debug1: Applying options for *
debug1: Connecting to apple-tv.local [XXX.XXX.XXX.XXX] port 22.
debug1: Connection established.
debug1: identity file /Users/emueses/.ssh/id_rsa type -1
debug1: identity file /Users/emueses/.ssh/id_rsa-cert type -1
debug1: identity file /Users/emueses/.ssh/id_dsa type -1
debug1: identity file /Users/emueses/.ssh/id_dsa-cert type -1
ssh_exchange_identification: Connection closed by remote host

This usually means an error with the Keys, but how can we correct it if we can't SSH?

  May 28, 2012 - 11:14am
matty's picture
Moderator
Offline
Joined: Dec 2011
Posts: 640
Kudos: 0

You would need to clear out the cached keys in /Users/<username>/.ssh/

  May 28, 2012 - 1:54pm
emueses's picture
Offline
Joined: May 2012
Posts: 7
Kudos: 0

No cigar. Clearing and/or removing the .ssh keys yields the same error:

Eduardo-Muesess-iMac:~ emueses$ ssh root@apple-tv.local
ssh_exchange_identification: Connection closed by remote host

  May 28, 2012 - 8:10pm
11dreamsbig's picture
Offline
Joined: Jan 2012
Posts: 34
Kudos: 0

I apologize for not reading thru all threads- I still wasn't able to SSH anymore. I (think) I've exhausted everything I can think of. I did find a solution for anyone else having these problems. SinfuliPhone has the XBMC installer you can use and you will no longer need to SSH in (if you don't want to) for XBMC. It works great. 

The world breaks everyone, and afterward, some are strong at the broken places.
Ernest Hemingway

  May 29, 2012 - 9:48am
emueses's picture
Offline
Joined: May 2012
Posts: 7
Kudos: 0

SSH is a powerful and almost required component for this whole thing to work.

There are instances where you need to run certain commands that require you the access to a CLI interface. It's not only for the installation of XBMC.

I find the lack of answers discouraging..

 

  May 29, 2012 - 5:36pm
11dreamsbig's picture
Offline
Joined: Jan 2012
Posts: 34
Kudos: 0

I absolutely agree with you. I really cannot figure out why it isn't working, but I figured this method (mentioned above) was at least a way to get your repos and plug ins added in XBMC. :) I would be super grateful if anyone does or has figured out a way in... I have PC's and Mac's and have tried:

WinSCP, CyberDuck, Putty, Terminal.... Nada.  Frown

 

"The height of every passion is to will its own downfall"

 -Søren Kierkegaard

The world breaks everyone, and afterward, some are strong at the broken places.
Ernest Hemingway

  May 31, 2012 - 4:18am
Wessyvb's picture
Offline
Joined: May 2012
Posts: 5
Kudos: 0

If its a problem with the key run this in terminal or putty

Rm -f ~/.ssh/known_hosts

Then try ssh again

Atv2 ios 5.0.1 jailbroken.
Atv3 ios 5.0.1 still working on jailbreak.

  May 31, 2012 - 7:42am
emueses's picture
Offline
Joined: May 2012
Posts: 7
Kudos: 0

It is not a problem with the key on the computer side. Is you go back to the thread, you will see that several people have removed the keys and the result is the same. I have tried to connect from different computers where there was no previous connection, or keys for that matter, and I still get the same error. Something is corrupt on the Apple TV side. The problem is that you can uninstall ssh as aTV gives you a message that it is a required component and I can't be uninstalled.

Catch-22 anyone?

  May 31, 2012 - 1:16pm
SDragon's picture
Offline
Joined: May 2012
Posts: 9
Kudos: 0

The same thing happen to me. Everything went fine (i was able to ssh using putty and winscp)  untill i update all NitoTV components. OpenSSH is by default 5.6p1-8 and it updated to 5.8p1-9 despite it shows 6.0p1-10 when we see the properties.

Now i only get "Server unexpectedly closed network connection" and can't ssh. And this is definitly a ATV problem because this is 2nd time it happens. The first time (yesterday) I re-JB and everything went fine. Today i re-updated nitotv and bam!

If nobody finds a solution we have all to re-jb our atv and make sure not to update open-ssh.

Regards.

 

  May 31, 2012 - 5:59pm
netmasterflex's picture
Offline
Joined: May 2012
Posts: 5
Kudos: 0

I had the same problem and in fact jailbroke twice.  SSH lasted about a day and now I can't access via putty or ssh.  I get the message that the server closed the connection.  I think the SeasonPass folks need to learn about this.  More peoplw will come to the surface on this issue when it comes time to update an app such as plex xmbc etc. and find they can't login.

NF

  May 31, 2012 - 6:48pm
Harrison's picture
Offline
Joined: May 2012
Posts: 2
Kudos: 0

I am sorry that I am not an SSH guru, but I will do my best to explain how I somehow got it to work.

Basically, it gave me the same error. Then I tried to sudo SSH, gave me a whole warning about fingerprints. Tried the default password (alpine) three times, then I was booted because that apparently wasn't right. went back to using the SSH command sans sudo, and it had no issue connecting. Maybe it kicked SSH on remotely, restarted it or something because now my Plex install using the Python script installed without a hitch!

  May 31, 2012 - 6:58pm
netmasterflex's picture
Offline
Joined: May 2012
Posts: 5
Kudos: 0

What ssh client are you using to connect?  Putty?  With Putty, you enter all the login info prior to connecting so I'm not at a prompt of any sort to type any ssh commands.

NF

  May 31, 2012 - 7:01pm
Harrison's picture
Offline
Joined: May 2012
Posts: 2
Kudos: 0

Sorry I am doing it through good 'ol Apple terminal

  May 31, 2012 - 7:21pm
emueses's picture
Offline
Joined: May 2012
Posts: 7
Kudos: 0

Without any intention to insult, you just got lucky.

Like you've said, something must have dislodged from the Apple TV. The fact that you use Sudo has nothing to do with the Apple TV side. The sudo on your apple terminal just tells the mac that you want to run the ssh command as the admin of your mac, not the root of the apple tv.

This looks like something is stuck in memory (on the Apple TV) that has to do with SSH/openSSL and that is why is refusing the connections.

  June 3, 2012 - 5:31pm
SDragon's picture
Offline
Joined: May 2012
Posts: 9
Kudos: 0

Anyone made any progress or is it necessary do JB again? Still can't SSH to ATV! :|

  June 3, 2012 - 7:36pm
netmasterflex's picture
Offline
Joined: May 2012
Posts: 5
Kudos: 0

This is what I did.  I re-jailbroke my apple TV's then when I connected with Putty, I selected No when asked the questions about the keys.  When I connected with WinSCP, I selected "Add" instead of whatever the other option was I don't remember.  So now I'm able to connecte whenever I want.  WinSCP connects with no further issues.   I just keep answering "No" to the Putty session.  

Thanks

NMF

  June 8, 2012 - 6:36pm
leines's picture
Offline
Joined: Jun 2012
Posts: 1
Kudos: 0

Well at least i know im not alone..thats at least comforting....lol.. i got this apple tv 2 yesterday... jailbroke with seasonpass... added nitotv with putty and started to ssh over the addons to xbmc... i got it all going nicely with some streams... i installed sportsdevil and free cable... then i was having an issue with free cable and canada ondemand..and had to change a file in the appletv to get that working... i ssh that over fine... reboot apple tv.. streams working again... then i realized my sportsdevil was the wrong version.. went to ssh the proper one and i keep getting the unexpectedly refused connection error with winscp and putty... ive restarted apple tv, computer, router. tried to clear the ssh folder in my user on windows.... still no connection... finally found this thread after hours of searching old news about iphones ipods etc having ssh issues and viruses....  now that im fully freaked out that i fawked up my apple tv... am i to assume the reason it worked yesterday and  not today is very common??

is the common fix to rejailbreak with seasonpass... line up everything into one killer ssh session while the door is open and leave it be???

Much love and respect for everything you guys do here..

 

Cheers

  June 11, 2012 - 2:54pm
philipo.9933's picture
Offline
Joined: Jan 2012
Posts: 3
Kudos: 0

Ive got same problem. Cant SSH to box. So this is not a hardware fault? Anyone found a fix?

  June 11, 2012 - 3:09pm
emueses's picture
Offline
Joined: May 2012
Posts: 7
Kudos: 0

No solution so far. The only interim option is to re-jailbreak and don't accept the key when establishing the connection...

  June 11, 2012 - 3:45pm
SDragon's picture
Offline
Joined: May 2012
Posts: 9
Kudos: 0

There is no workaround. We were all infected with Ikee virus that messes with ssh in idevices. Since it's not possible to run mobileterminal from AppleTV (to remove the virus - http://www.youtube.com/watch?v=VwoIj42n648) you have to re-jb your atv and, as soon as you do it ssh to AppleTV and change the default password from alpine to a new one. This prevents from beeing infected.

 

Execute the ikee removal walkthrough in all other idevices you might have to stop spreading to others.

 

Hope i helped.

 

Best regards to all.

  June 11, 2012 - 11:33pm
11dreamsbig's picture
Offline
Joined: Jan 2012
Posts: 34
Kudos: 0

Hi,

Before I dig into re-jailbreaking 2 Apple TV's that are working- but neither allows SSH- Is it really true that this is a virus? Is it spread through our wifi network? I have PC's, Mac's, and jailbroken iPhones all going through the same network... this is really freaking me out. I did get mobile terminal installed on my iPhone and changed my root password there, but I don't understand how we can change the root password on the Apple TV? I jail broke each of my Apple TV's twice before (and tried everything imaginable) to get in- nothing. Why would we be able to get in now? And how to change root password? 

While I am glad to know I need to get rid of a possible virus, I'm a bit panicked on how to do so. Many thanks for any help. 

The world breaks everyone, and afterward, some are strong at the broken places.
Ernest Hemingway

  June 12, 2012 - 3:59am
Ukrainianoiler's picture
Offline
Joined: Dec 2009
Posts: 106
Kudos: 0

Also having this problem - have never had it before this most recent jailbreak.  Doesn't work with cyberduck or coreftp lite.  As per above post - is this really a virus or what?  Adding my xbmc files by .zip thru the atv is taking forever without this option.

  June 12, 2012 - 4:50am
SDragon's picture
Offline
Joined: May 2012
Posts: 9
Kudos: 0

This is indeed ikee virus so do the following:

 

  • If you just re-jb and can ssh to appletv use a terminal program like putty. If it asks for password use alpine. As soon as you have the #root in your screen type passwd This will allow you to change your password (type the new password and retype it again).

 

  • If you can't ssh to appletv you're going to re-jb again in a safe environment (no more idevices connected to your wifi network) and change the password as soon as you can ssh.

 

Remove the virus from other idevices using the walk-through i posted here.

 

To change a ssh password from an iphone or ipad that you can't ssh (only if you have openssh installed) just install mobileterminal from cydia, run it, type su, type alpine and then apply the passwd command and you're done.

 

Hope i could help.

 

Regards to all.