Cannot connect to Apple TV using SFTP

First off, I must say that despite some of the reviews I’ve read concerning this software, I am very pleased with the package as a whole. I figured that instead of spending hours and hours reinventing the wheel, I’d pay the 60 bucks and go ride my bike. The install has gone well and I’m amazed that I can have multiple external drives plugged in! I didn’t know if using a USB hub would work or not, so I’m glad that I can get all 4TB of my data loaded at a time.

Anyways, my main question is that I for some reason cannot connect to my Apple TV using SFTP. I can FTP using cyberduck, but cannot get the SFTP to work. I don’t really care if it works in general, but I’m trying to enable Remote Desktop and Internet Sharing, both of which require me to log in with SFTP (from what I’ve found). I could be going about this all wrong, so please steer me in the right direction.

Setup: Apple TV with 2.xx (most recent as of 8-11-08) with full aTV flash installed

Goals: Enable Remote Desktop and Internet Sharing (ethernet to wifi)

Here’s the problem though: I can’t ssh into the Apple TV. When I try, I get the following error:

cpe-67-9-132-236:~ john$ ssh -1 appletv.local
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: POSSIBLE DNS SPOOFING DETECTED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The RSA1 host key for appletv.local has changed,
and the key for the according IP address 10.0.2.6
is unknown. This could either mean that
DNS SPOOFING is happening or the IP address for the host
and its host key have changed at the same time.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 RSA1 host key has just been changed.
The fingerprint for the RSA1 key sent by the remote host is
aa:c9:68:97:19:95:71:94:78:3e:90:27:a4:92:bb:65.
Please contact your system administrator.
Add correct host key in /Users/john/.ssh/known_hosts to get rid of this message.
Offending key in /Users/john/.ssh/known_hosts:3
RSA1 host key for appletv.local has changed and you have requested strict checking.
Host key verification failed.

Assuming someone shows me my error with SSH, then I would do the following?:
http://wiki.awkwardtv.org/wiki/Enable_Remote_Desktop_(VNC)_After_1.1_Update

OK, done?!!?

Next, Internet Sharing.

No idea if this works…
http://forum.insanelymac.com/index.php?showtopic=50763

I can’t find any more info on this…

Thanks guys and gals(?) for all your help!

Oh, by the way, I can FTP into the apple tv using cyberduck, so it is at least working somewhat :slight_smile:

You just need to remove the stored key on your computer.

Open terminal and enter the following:

rm .ssh/known_hosts

Voila, SFTP should now work.