PDA

View Full Version : I can no longer SSH into my apple TV 2




Arminium
Aug 11, 2011, 11:20 PM
I had recently purchased the ATV2 with plans to jailbreak and stream videos via Plex or XBMC. I originally installed Plex and found some issues with the streaming, so I decided to switch to XBMC. I did a restore on the ATV2 and now i can no longer SSH into it. Any ideas?


$ ssh root@192.168.1.108
ssh: connect to host 192.168.1.108 port 22: Operation timed out

(I also didn't rename my ATV2, so wouldnt this line below work?)

$ ssh root@AppleTV.local
ssh: Could not resolve hostname AppleTV.local: nodename nor servname provided, or not known



DefBref
Aug 13, 2011, 02:57 AM
When you say you've done a restore, what did you actually do? It sounds like you may have removed the jailbrake.

DrEnalg
Aug 13, 2011, 09:33 AM
It is possible you may have removed the JB, like the other poster said. Also, isn't it "ssh root@Apple-TV.local" (with a hyphen)?

brand
Aug 13, 2011, 08:26 PM
isn't it "ssh root@Apple-TV.local" (with a hyphen)?

Either hostname or IP address will work. I prefer to use IP addresses for setting up connections on my local LAN. DHCP is enabled on the server but all permeant devices on the network get a static IP address depending on its MAC address.

Arminium
Aug 14, 2011, 02:30 AM
When you say you've done a restore, what did you actually do? It sounds like you may have removed the jailbrake.

Yes, after running the restore from itunes, i jailbroke it again with seas0npass. Would this be something related computer side or maybe the router? I went through and opened port 22 on both TCP and UDP, but i thought that didn't much matter on a local network. I'm going to go ahead and restore the ATV2 again and rejailbreak it just to see if that helps. please continue with ideas, i really want this to work

Arminium
Aug 14, 2011, 02:43 AM
Hmm well now I have this meesage and im not sure what to do about it

$ ssh root@192.168.1.108
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
82:b2:42:ae:79:6f:c9:06:8c:f8:91:dd:34:19:44:b1.
Please contact your system administrator.
Add correct host key in /Users/Admin/.ssh/known_hosts to get rid of this message.
Offending key in /Users/Admin/.ssh/known_hosts:1
RSA host key for 192.168.1.108 has changed and you have requested strict checking.
Host key verification failed.

harpster
Aug 14, 2011, 06:53 AM
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @

The easiest way to fix the problem is to delete the known_hosts file:
rm ~/.ssh/known_hosts

Arminium
Aug 14, 2011, 01:27 PM
The easiest way to fix the problem is to delete the known_hosts file:
rm ~/.ssh/known_hosts

Okay that fixed the latest issue, but im still unable to ssh. I've also just noticed that homesharing isn't even working for the ATV2 anymore, nothing detects the ATV2. This has to be a network error right? Im running a Linksys E1000 router and not really familiar with how to use it :/ I've been stuck with verizon routers for years and finally got a modem from them so I could have more control of my network.