AppleTV 2 (black) Can't FTP into Apple TV!

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
fritzboyle Offline
Donor
Posts: 39
Joined: Apr 2011
Reputation: 0
Location: Oakland CA
Post: #11
Memphiz,
If all the ssh problems we are seeing are NOT due to some virus (seems unlikely) then we are having trouble based on the updates coming from nitotv, including the ssh update.

to clarify, can you recommend the best order of steps we should take if we have an atv2 with ios 5+ & XBMC 11-b3 & are blocked from ssh IF we are going to wipe and re j/b?

My main reason for wanting ssh access back is that I want to remove some folders, addons, files, etc to increase memory as well as uploading some photos for screensavers, backgrounds, etc.

I would be willing to forgo the re j/b if I thought there would be a fix coming soon (like next month) in 11-b4. My system is working well enough to leave it be, especially if I am not at risk from a virus.

Peace,
Fritz Boyle

ATV2 iOS 5.1.1 XBMC 11.0-4
USB Stick android 4.1.1 XBMC 12.0
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 7,677
Joined: Feb 2011
Reputation: 91
Location: germany
Post: #12
I would go without nitotv in that case. But since i didn't have updated since months - i can't suggest anything...

But maybe someone should try to contact nito and report the problem over to him somehow...

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
(This post was last modified: 2012-06-21 21:56 by Memphiz.)
find quote
Ned Scott Offline
Team-XBMC Wiki Guy
Posts: 11,938
Joined: Jan 2011
Reputation: 131
Location: Arizona, USA
Post: #13
The only worm/virus for iOS seen in the wild is the one that was made for proof-of-concept to change people's backgrounds to a rickroll. It didn't actually do any damage. And unless you've forwarded your routers ports for SSH to the ATV2, it shouldn't be exposed in the first place.

You can make easy links to the XBMC wiki using double brackets around words: [[debug log]] = debug log, [[Add-on:YouTube]] = Add-on:YouTube, [[Adding videos to the library]] = Adding videos to the library, [[userdata]] = userdata, etc
find quote
fritzboyle Offline
Donor
Posts: 39
Joined: Apr 2011
Reputation: 0
Location: Oakland CA
Post: #14
Non Jailbreak ssh solution

I was on the FireCore forum and through a discussion with user badabing, I found a solution that does not require a re-jailbreak to fix this ssh/ftp issue. I was able to do it successfully and have full access again and all my troubles are over (for now).

See the discussion here:

http://forum.firecore.com/topic/8161

Some of the Key elements:

Download openssh_5.8p1-9_iphoneos-arm.deb onto your PC/Mac

Use the NitoTV UI on ATV2 to
- install afc2add
- install vsftpd

Reboot the ATV
connect via USB cable to your PC / MAC
and connect using iFunbox (you must have the power plug in the ATV and THEN connect to your PC/Mac with USB)

Under Connected Devices (in iFunBox) you should see your ATV2
Go to Raw File System (this is the / of your ATV)
Navigate to
/private/var/root/Media/Cydia/AutoInstall
Use CopyFromPC option to upload openssh_5.8p1-9_iphoneos-arm.deb into that directory
What this does is upon next reboot, cydia will attempt to install any deb file that is in AutoInstall directory.
However because you have a newer version, which can't be uninstalled, cydia will not downgrade, hence navigate to
/private/var/stash/libexec/cydia/startup
and use CopyToPC option to copy startup file to your pc/mac
edit the file on your pc/mac
modify the line that has dpkg to this
dpkg --force-downgrade -i "${debs[@]}" 2>/tmp/dpkg.log 1>&2
basically we are adding an option to force downgrading (--force-downgrade)
and then upload it back to ATV using CopyFromPC option.

reboot ATV
check using NitoTV to make sure you have the downgraded version running on ATV.
test to see if you can connect.
if not,
upgrade openssh
reboot
you should be able to connect again.

Peace,
Fritz Boyle

ATV2 iOS 5.1.1 XBMC 11.0-4
USB Stick android 4.1.1 XBMC 12.0
(This post was last modified: 2012-07-05 22:18 by fritzboyle.)
find quote
jimnewt Offline
Junior Member
Posts: 3
Joined: Sep 2012
Reputation: 0
Post: #15
I have done the jailbreak before but just did the update and now I can't get in because it says alpine is not the correct password, and can get in through Cyberduck.

Can anyone help?

Thanks
find quote
g-off Offline
Fan
Posts: 635
Joined: Aug 2011
Reputation: 3
Post: #16
You need to Jailbreak again if you updated.
find quote
Post Reply