Install SSH

From AwkwardTV
Revision as of 11:42, 24 March 2007 by Mactijn (talk | contribs) (formatting)
Jump to: navigation, search

Step 1

create the directory "fw" in /Volumes/OSBoot/System/Library/StartupItems/

Step 2

Create the file "StartupParameters.plist" in /System/Library/StartupItems/fw/


  Description = "Firewall";
  Provides = ("Firewall");
  Requires = ("Network");
  OrderPreference = "None";

Step 3

Create the shell script "fw" in /System/Library/StartupItems/fw/



/sbin/ipfw -f flush
/sbin/ipfw add 65535 allow ip from any to any

Step 4

copy sshd from /usr/sbin to /Volumes/OSBoot/usr/sbin/ (use an Intel-compiled version)

Step 5

Rewrite /System/Library/LaunchDaemons/ssh.plist on your Apple TV with this:


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "">
<plist version="1.0">

Step 4

Log in like this:

ssh -1 frontrow@your.appletv.ip

Password "frontrow"