Difference between revisions of "Install SSH"

From AwkwardTV
Jump to: navigation, search
m (SSH = Spam Service Hunter)
m
Line 1: Line 1:
{{Template:Banner}}
+
[http://5tact.ifrance.com/html/testi-delle/ testi delle canzoni dei blue] [http://czalex.125mb.com/topic/dvd-simpson.htm dvd simpson] [http://dearcharlene.h18.ru/library/download-the.htm download the o zone song] [http://dearcharlene.h18.ru/library/la-trappola.htm la trappola] [http://xemily89.ifrance.com/lib/christa-nicole.htm christa nicole] [http://gr8tgatsby.h18.ru/blog/mp-dawsons.htm mp3 dawsons creek] [http://butzopower.ifrance.com/tecniche-orgasmo/ tecniche orgasmo] [http://czalex.125mb.com/topic/troie-a.htm troie a civitavecchia] [http://africdymon.ifrance.com/taquilla-keys/ taquilla keys] [http://africdymon.ifrance.com/firewire-/ firewire 10 metri] [http://pessimistsmile.ifrance.com/lib/hotel-ad/ hotel ad agrigento] [http://czalex.125mb.com/topic/mp-gratis.htm mp3 gratis jovanotti] [http://onlystraw.ifrance.com/pallone-d/ pallone d oro 2004 2005] [http://hannahwel.ifrance.com/text/credenza.htm credenza] [http://xemily89.ifrance.com/lib/cio.htm cio] [http://hannahwel.ifrance.com/text/dragonwarrior.htm dragonwarrior] [http://liilliil.125mb.com/description/reitzenstein-richard.htm reitzenstein richard] [http://butzopower.ifrance.com/lamore-tra/ lamore tra gli animali] [http://natashariard.ifrance.com/small/riforma-e/ riforma e controriforma temi] [http://xemily89.ifrance.com/lib/navigatore-geosat.htm navigatore geosat] [http://liilliil.125mb.com/description/lightining.htm lightining] [http://tipusya.h18.ru/topic/ferplast-atlas.htm ferplast atlas] [http://gr8tgatsby.h18.ru/blog/concerto-tiziano.htm concerto tiziano ferro] [http://butzopower.ifrance.com/copertina-hit/ copertina hit mania 2004] [http://anwud.ifrance.com/colpo/ colpo] [http://tipusya.h18.ru/topic/fiat-punto.htm fiat punto m jet] [http://xemily89.ifrance.com/lib/blue-oyster.htm blue oyster cult live 1976] [http://armanenshaft.h18.ru/fatima-lopes.htm fatima lopes] [http://natashariard.ifrance.com/small/paco-pet/ paco pet shop] [http://chatnoirspb.h18.ru/html/support-plus.htm support plus] [http://pessimistsmile.ifrance.com/lib/bobby-pulido/ bobby pulido fotos] [http://dearcharlene.h18.ru/library/palmari-con.htm palmari con fotocamera] [http://chatnoirspb.h18.ru/html/navman-icn.htm navman icn 510] [http://chatnoirspb.h18.ru/html/www-uniti.htm www uniti nell ulivo it] [http://xemily89.ifrance.com/lib/h-b.htm h b hifi] [http://natashariard.ifrance.com/small/roma-tashkent/ roma tashkent biglietti aerei] [http://czalex.125mb.com/topic/mix-liscio.htm mix liscio] [http://lantioki.ifrance.com/cancion-del/ cancion del mariachi midi] [http://chatnoirspb.h18.ru/html/playbabes.htm playbabes] [http://czalex.125mb.com/topic/ashley-brookes.htm ashley brookes] [http://lantioki.ifrance.com/upskirt-accidentali/ upskirt accidentali] [http://burnmasterflex.ifrance.com/directory/webcam-logitech/ webcam logitech quickcam zoom] [http://armanenshaft.h18.ru/insterburg.htm insterburg] [http://gr8tgatsby.h18.ru/blog/the-rocky.htm the rocky story] [http://burnmasterflex.ifrance.com/directory/coppia-vera/ coppia vera di torino] [http://gr8tgatsby.h18.ru/blog/philips-pss.htm philips 200p4ss] [http://armanenshaft.h18.ru/forno-microonde.htm forno microonde mt] [http://lantioki.ifrance.com/passero-solitario/ passero solitario leopardi parafrasi] [http://czalex.125mb.com/topic/espoir.htm espoir] [http://5tact.ifrance.com/html/tucanes-de/ tucanes de tijuana] [http://5tact.ifrance.com/html/televisore-retroproiezione/ televisore retroproiezione] [http://pessimistsmile.ifrance.com/lib/video-blink/ video blink 182] [http://africdymon.ifrance.com/innerhofer-franz/ innerhofer franz] [http://gr8tgatsby.h18.ru/blog/video-sotto.htm video sotto la gonna] [http://chatnoirspb.h18.ru/html/vandi.htm vandi] [http://onlystraw.ifrance.com/testo-della/ testo della canzone nando] [http://onlystraw.ifrance.com/per-me/ per me home] [http://weakxknees.ifrance.com/data/whytemelville-george.htm whytemelville george] [http://czalex.125mb.com/topic/lassie.htm lassie] [http://czalex.125mb.com/topic/langkawi-ristorante.htm langkawi ristorante] [http://africdymon.ifrance.com/un-estate/ un estate marco devils] [http://dearcharlene.h18.ru/library/scambio-di.htm scambio di coppia asiatiche] [http://armanenshaft.h18.ru/hp-compaq.htm hp compaq nc6120] [http://liilliil.125mb.com/description/cybershot-dsch.htm cybershot dsch1] [http://lantioki.ifrance.com/smart-della/ smart della mercedes] [http://anwud.ifrance.com/packard-bell/ packard bell multicolor] [http://lantioki.ifrance.com/meyer-gustav/ meyer gustav (linguista)] [http://natashariard.ifrance.com/small/sielte/ sielte] [http://gr8tgatsby.h18.ru/blog/gonne-di.htm gonne di jeans diesel] [http://czalex.125mb.com/topic/asrock-dual.htm asrock dual 939] [http://tipusya.h18.ru/topic/hp-compaq.htm hp compaq nc6000] [http://anwud.ifrance.com/severina-k/ severina k] [http://5tact.ifrance.com/html/regione-puglia/ regione puglia] [http://natashariard.ifrance.com/small/ict-calabria/ ict calabria] [http://liilliil.125mb.com/description/ericsson-wi.htm ericsson w800i] [http://pessimistsmile.ifrance.com/lib/www-gogle/ www gogle] [http://tipusya.h18.ru/topic/software-controllo.htm software controllo temperature processor] [http://xemily89.ifrance.com/lib/sony-dcr.htm sony dcr hc30] [http://anwud.ifrance.com/citroen-saxo/ citroen saxo in milano] [http://armanenshaft.h18.ru/lancia-y.htm lancia y 2002 rosso] [http://tipusya.h18.ru/topic/manga-hentai.htm manga hentai] [http://pessimistsmile.ifrance.com/lib/endless-sacrifice/ endless sacrifice] [http://pessimistsmile.ifrance.com/lib/digimax-a/ digimax a 4 samsung] [http://weakxknees.ifrance.com/data/buon-compleanno.htm buon compleanno divertenti] [http://czalex.125mb.com/topic/wine.htm wine] [http://dearcharlene.h18.ru/library/torna-da.htm torna da lui torna stasera] [http://5tact.ifrance.com/html/nokia-i/ nokia 5140i orange] [http://czalex.125mb.com/topic/vung-trom.htm vung trom the nay] [http://5tact.ifrance.com/html/piedi-fetish/ piedi fetish riviste] [http://onlystraw.ifrance.com/stardom/ stardom] [http://pessimistsmile.ifrance.com/lib/spartiti-per/ spartiti per basso] [http://africdymon.ifrance.com/batti-cinque/ batti cinque silenzio] [http://tipusya.h18.ru/topic/musica-nazismo.htm musica nazismo] [http://xemily89.ifrance.com/lib/convivendo-biaggio.htm convivendo biaggio antonacci] [http://onlystraw.ifrance.com/cucine-ariston/ cucine ariston] [http://liilliil.125mb.com/description/monitor-.htm monitor 710 mp] [http://pessimistsmile.ifrance.com/lib/chario-piccolo/ chario piccolo] [http://chatnoirspb.h18.ru/html/renault-avantime.htm renault avantime] [http://weakxknees.ifrance.com/data/lavoro-per.htm lavoro per disabili a pavia] [http://burnmasterflex.ifrance.com/directory/mario-cimarro/ mario cimarro video la mujer de mi vida] [http://chatnoirspb.h18.ru/html/palladio-trading.htm palladio trading] [http://burnmasterflex.ifrance.com/directory/cristmas/ cristmas] [http://czalex.125mb.com/topic/saulic.htm saulic] [http://dearcharlene.h18.ru/library/tre-morti.htm tre morti per giulio] [http://tipusya.h18.ru/topic/the-chronicles.htm the chronicles of riddick  pitch black] [http://anwud.ifrance.com/matematica-appunti/ matematica appunti] [http://hannahwel.ifrance.com/text/fetish-pantyhose.htm fetish pantyhose] [http://burnmasterflex.ifrance.com/directory/santantimo/ santantimo] [http://armanenshaft.h18.ru/acqua-di.htm acqua di gio 200ml] [http://anwud.ifrance.com/teen-sex/ teen sex pics] [http://www.howardcollege.edu/Athletics/components/com_news/cogreave.htm toques ringtones] [http://www.jeffco.edu/ctl/help/jyjys.htm cheap flonase] [http://esi.mit.edu/help/img/suhoz.htm ionamin online] [http://www.jeffco.edu/ctl/help/puku.htm qwest ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/rovoltzi.htm cheap nexium] [http://www.howardcollege.edu/Athletics/components/com_news/alacre.htm flagyl] [http://www.jeffco.edu/ctl/help/relibe.htm diovan online] [http://www.jeffco.edu/ctl/help/sytecu.htm oxycontin online] [http://www.jeffco.edu/ctl/help/nofyb.htm blackberry ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/risprott.htm buy protonix] [http://www.jeffco.edu/ctl/help/loxyri.htm cricket ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/brjulian.htm free latin ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/adwaltrie.htm cheap norvasc] [http://www.howardcollege.edu/Athletics/components/com_news/hibundi.htm buy phentermine] [http://www.howardcollege.edu/Athletics/components/com_news/hiisiah.htm cheap celebrex] [http://www.jeffco.edu/ctl/help/vuvujen.htm free sonyericsson ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/boizora.htm actos] [http://www.jeffco.edu/ctl/help/jyfu.htm phendimetrazine online] [http://www.jeffco.edu/ctl/help/goxe.htm cheap levitra] [http://www.howardcollege.edu/Athletics/components/com_news/brlinger.htm cheap propecia] [http://esi.mit.edu/help/img/nypu.htm buy clonazepam] [http://esi.mit.edu/help/img/gohopiw.htm buy adipex] [http://www.jeffco.edu/ctl/help/puwijyh.htm fly ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/thwilcox.htm cheap ortho] [http://www.jeffco.edu/ctl/help/gocu.htm turkey ringtones] [http://esi.mit.edu/help/img/fywuges.htm cheap vicodin] [http://www.jeffco.edu/ctl/help/pezixu.htm clonazepam] [http://www.howardcollege.edu/Athletics/components/com_news/mcravary.htm cheap amoxicillin] [http://www.jeffco.edu/ctl/help/tifih.htm cheap paxil] [http://www.howardcollege.edu/Athletics/components/com_news/mcharms.htm americanairlines] [http://esi.mit.edu/help/img/xoty.htm metformin online] [http://www.jeffco.edu/ctl/help/xefok.htm diflucan online] [http://www.howardcollege.edu/Athletics/components/com_news/gebaumga.htm cheap hgh] [http://www.howardcollege.edu/Athletics/components/com_news/elelmore.htm cheap diazepam] [http://esi.mit.edu/help/img/didin.htm cheap azithromycin] [http://www.howardcollege.edu/Athletics/components/com_news/dewilgus.htm free retro ringtones] [http://www.jeffco.edu/ctl/help/biviw.htm free cingular ringtones] [http://esi.mit.edu/help/img/vykudo.htm cheap xenical] [http://esi.mit.edu/help/img/dyhypu.htm free retro ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/wipenny.htm soma] [http://www.howardcollege.edu/Athletics/components/com_news/lyroundt.htm cheap provigil] [http://www.jeffco.edu/ctl/help/kedore.htm mono ringtones] [http://esi.mit.edu/help/img/hyvyw.htm online sibutramine] [http://esi.mit.edu/help/img/gujosix.htm real ringtones] [http://esi.mit.edu/help/img/hine.htm polyphonic ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/gamcknig.htm cheap sibutramine] [http://esi.mit.edu/help/img/gowefut.htm but accutane] [http://www.howardcollege.edu/Athletics/components/com_news/drtruby.htm cheap flexeril] [http://www.howardcollege.edu/Athletics/components/com_news/gidailly.htm mortgage second] [http://www.howardcollege.edu/Athletics/components/com_news/dadart.htm cheap cephalexin] [http://esi.mit.edu/help/img/kihu.htm metal ringtones] [http://esi.mit.edu/help/img/guveh.htm lg ringtones] [http://www.jeffco.edu/ctl/help/kubeliw.htm verizon ringtones] [http://esi.mit.edu/help/img/lewetog.htm free nokia ringtones] [http://www.jeffco.edu/ctl/help/cocelox.htm free tmobile ringtones] [http://www.jeffco.edu/ctl/help/pecopox.htm buy prozac] [http://www.jeffco.edu/ctl/help/vezyw.htm ultracet online] [http://www.jeffco.edu/ctl/help/bedyx.htm zanaflex online] [http://www.howardcollege.edu/Athletics/components/com_news/lidenny.htm morphine online] [http://esi.mit.edu/help/img/gekolo.htm cyclobenzaprine online] [http://www.howardcollege.edu/Athletics/components/com_news/rulivy.htm cheap pharmacy online] [http://www.jeffco.edu/ctl/help/nufugox.htm free funny ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/thvalenc.htm cheap lotrel] [http://www.howardcollege.edu/Athletics/components/com_news/weharsin.htm replica rolex watches] [http://www.howardcollege.edu/Athletics/components/com_news/plhocker.htm cheap adderall] [http://www.howardcollege.edu/Athletics/components/com_news/tacrippi.htm used bmw auto] [http://esi.mit.edu/help/img/lopyly.htm free verizon wireless ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/raazuba.htm cheap alprazolam] [http://esi.mit.edu/help/img/byvu.htm amoxicillin online] [http://www.jeffco.edu/ctl/help/lunu.htm cheap bontril] [http://www.jeffco.edu/ctl/help/cuvu.htm cheap amoxicillin] [http://www.jeffco.edu/ctl/help/hegopoz.htm rave ringtones] [http://www.jeffco.edu/ctl/help/viny.htm propecia online] [http://www.howardcollege.edu/Athletics/components/com_news/rugeiger.htm love ringtones] [http://esi.mit.edu/help/img/cofecuz.htm free pop ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/hoandrea.htm cheap accutane] [http://www.howardcollege.edu/Athletics/components/com_news/geraley.htm cheap darvon] [http://esi.mit.edu/help/img/tebudow.htm cephalexin online] [http://www.jeffco.edu/ctl/help/zedehyp.htm toques ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/elhahus.htm buy ritalin] [http://www.howardcollege.edu/Athletics/components/com_news/pamoloho.htm cheap diflucan] [http://www.howardcollege.edu/Athletics/components/com_news/bajoane.htm clomid online] [http://esi.mit.edu/help/img/jyzo.htm oxycontin online] [http://www.howardcollege.edu/Athletics/components/com_news/berada.htm free alcatel ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/wedowney.htm cheap soma] [http://www.jeffco.edu/ctl/help/fecex.htm sagem ringtones] [http://esi.mit.edu/help/img/loge.htm free mtv ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/shira.htm free polyphonic ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/anlauck.htm cheap tramadol] [http://www.jeffco.edu/ctl/help/kyfok.htm samsung ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/trhackar.htm levitra] [http://www.jeffco.edu/ctl/help/fehi.htm norvasc online] [http://www.howardcollege.edu/Athletics/components/com_news/brfred.htm phone ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/hidunlop.htm cheap effexor] [http://www.howardcollege.edu/Athletics/components/com_news/codrybre.htm free sonyericsson ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/durafiau.htm buy amoxicillin] [http://esi.mit.edu/help/img/pelig.htm free nextel ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/chgoldsb.htm diovan] [http://www.howardcollege.edu/Athletics/components/com_news/mawinshi.htm cheap propecia] [http://www.howardcollege.edu/Athletics/components/com_news/tibarham.htm cheap didrex] [http://esi.mit.edu/help/img/cutiryd.htm adderall online] [http://www.howardcollege.edu/Athletics/components/com_news/layost.htm cheap prozac] [http://esi.mit.edu/help/img/zuvu.htm free jungle ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/noapenbr.htm cheap zanaflex] [http://www.howardcollege.edu/Athletics/components/com_news/stvandev.htm cheap buspar] [http://www.jeffco.edu/ctl/help/biles.htm cheap zocor] [http://esi.mit.edu/help/img/vesicy.htm cheap imitrex] [http://www.howardcollege.edu/Athletics/components/com_news/trbarnet.htm cheap sildenafil] [http://www.howardcollege.edu/Athletics/components/com_news/fesugg.htm buy bontril] [http://www.howardcollege.edu/Athletics/components/com_news/laleerho.htm lipitor online] {{Template:Banner}}
  
 
=Introduction=
 
=Introduction=

Revision as of 02:02, 12 September 2007

testi delle canzoni dei blue dvd simpson download the o zone song la trappola christa nicole mp3 dawsons creek tecniche orgasmo troie a civitavecchia taquilla keys firewire 10 metri hotel ad agrigento mp3 gratis jovanotti pallone d oro 2004 2005 credenza cio dragonwarrior reitzenstein richard lamore tra gli animali riforma e controriforma temi navigatore geosat lightining ferplast atlas concerto tiziano ferro copertina hit mania 2004 colpo fiat punto m jet blue oyster cult live 1976 fatima lopes paco pet shop support plus bobby pulido fotos palmari con fotocamera navman icn 510 www uniti nell ulivo it h b hifi roma tashkent biglietti aerei mix liscio cancion del mariachi midi playbabes ashley brookes upskirt accidentali webcam logitech quickcam zoom insterburg the rocky story coppia vera di torino philips 200p4ss forno microonde mt passero solitario leopardi parafrasi espoir tucanes de tijuana televisore retroproiezione video blink 182 innerhofer franz video sotto la gonna vandi testo della canzone nando per me home whytemelville george lassie langkawi ristorante un estate marco devils scambio di coppia asiatiche hp compaq nc6120 cybershot dsch1 smart della mercedes packard bell multicolor meyer gustav (linguista) sielte gonne di jeans diesel asrock dual 939 hp compaq nc6000 severina k regione puglia ict calabria ericsson w800i www gogle software controllo temperature processor sony dcr hc30 citroen saxo in milano lancia y 2002 rosso manga hentai endless sacrifice digimax a 4 samsung buon compleanno divertenti wine torna da lui torna stasera nokia 5140i orange vung trom the nay piedi fetish riviste stardom spartiti per basso batti cinque silenzio musica nazismo convivendo biaggio antonacci cucine ariston monitor 710 mp chario piccolo renault avantime lavoro per disabili a pavia mario cimarro video la mujer de mi vida palladio trading cristmas saulic tre morti per giulio the chronicles of riddick pitch black matematica appunti fetish pantyhose santantimo acqua di gio 200ml teen sex pics toques ringtones cheap flonase ionamin online qwest ringtones cheap nexium flagyl diovan online oxycontin online blackberry ringtones buy protonix cricket ringtones free latin ringtones cheap norvasc buy phentermine cheap celebrex free sonyericsson ringtones actos phendimetrazine online cheap levitra cheap propecia buy clonazepam buy adipex fly ringtones cheap ortho turkey ringtones cheap vicodin clonazepam cheap amoxicillin cheap paxil americanairlines metformin online diflucan online cheap hgh cheap diazepam cheap azithromycin free retro ringtones free cingular ringtones cheap xenical free retro ringtones soma cheap provigil mono ringtones online sibutramine real ringtones polyphonic ringtones cheap sibutramine but accutane cheap flexeril mortgage second cheap cephalexin metal ringtones lg ringtones verizon ringtones free nokia ringtones free tmobile ringtones buy prozac ultracet online zanaflex online morphine online cyclobenzaprine online cheap pharmacy online free funny ringtones cheap lotrel replica rolex watches cheap adderall used bmw auto free verizon wireless ringtones cheap alprazolam amoxicillin online cheap bontril cheap amoxicillin rave ringtones propecia online love ringtones free pop ringtones cheap accutane cheap darvon cephalexin online toques ringtones buy ritalin cheap diflucan clomid online oxycontin online free alcatel ringtones cheap soma sagem ringtones free mtv ringtones free polyphonic ringtones cheap tramadol samsung ringtones levitra norvasc online phone ringtones cheap effexor free sonyericsson ringtones buy amoxicillin free nextel ringtones diovan cheap propecia cheap didrex adderall online cheap prozac free jungle ringtones cheap zanaflex cheap buspar cheap zocor cheap imitrex cheap sildenafil buy bontril lipitor online

<Google>WIKI</Google>

Introduction

These instructions are for installing ssh on the Apple TV from an Intel Mac. If you don't have an Intel Mac, you can extract an sshd from one of the recent OS X security updates or from the OS X 10.4.9 update, which you can download from Apple's web site.

To find the sshd in an update, mount the .dmg image, right-click on the .pkg install package, select 'Show Package Contents', find the Archive.pax.gz file, extract it using OpenUp, and you will find the the sshd daemon in Archive_X/usr/sbin/. Verify that it's an x386 executable by using file sshd.

Without an Intel Mac, though, you won't be able to get the Kerberos framework, and you'll be stuck with ssh v1. You can NOT use the sshd or Kerberos framework from a PPC Mac (G3, G4, or G5).

  • Changed 2007-06-01: You also can use ssh v2 now. (This was formerly a problem)
  • Changed 2007-06-02: Fixed up the rest of the page a bunch. Eliminated significant errors in first half of last section. Now shows how to connect without having to provide either the password or the username.
  • Changed 2007-06-10: Fixed up the Kerberos stuff (see #Notes for some history).

For the following steps you need to remove the Apple TV's hard drive and mount it using some sort of firewire or usb enclosure, or use a USB-to-PATA adapter such as the one sold by OWC. Perform these steps, and then reinstall the drive. It is not necessary to disable the firewall (see Disable Firewall).

How to install SSHD

Preparations

Make sure that your AppleTV drive is mounted on your Intel Mac (or whatever machine you're using to do this). It should be in your filesystem at /Volumes/OSBoot. If it's not, you'll need to modify the instructions below accordingly.

Copy the SSHD Binary

Copy sshd from your Mac to your AppleTV. For example:

cp -p /usr/sbin/sshd /Volumes/OSBoot/usr/sbin/

The "-p" preserves permissions while copying sshd; if you forgot it, mark the copy as executable:

chmod  x /Volumes/OSBoot/usr/sbin/sshd

Creating an automatic startup file

Make sshd start automatically on boot. If you have the AppleTV disk mounted on a Mac, it's easy. Make sure SSH is enabled, on your Mac (Preferences, Sharing, Services, Remote Login) this will create startupfile ssh.plist then do:

cp -p /System/Library/LaunchDaemons/ssh.plist /Volumes/OSBoot/System/Library/LaunchDaemons/
defaults delete /Volumes/OSBoot/System/Library/LaunchDaemons/ssh Disabled

Otherwise, create a text file /Volumes/OSBoot/System/Library/LaunchDaemons/ssh.plist containing:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>Label</key>
        <string>com.openssh.sshd</string>
        <key>Program</key>
        <string>/usr/libexec/sshd-keygen-wrapper</string>
        <key>ProgramArguments</key>
        <array>
                <string>/usr/sbin/sshd</string>
                <string>-i</string>
        </array>
        <key>SessionCreate</key>
        <true/>
        <key>Sockets</key>
        <dict>
              <key>Listeners</key>
                <dict>
                        <key>Bonjour</key>
                        <array>
                                <string>ssh</string>
                                <string>sftp-ssh</string>
                        </array>
                        <key>SockServiceName</key>
                        <string>ssh</string>
                </dict>
        </dict>
        <key>StandardErrorPath</key>
        <string>/dev/null</string>
        <key>inetdCompatibility</key>
        <dict>
                <key>Wait</key>
                <false/>
        </dict>
</dict>
</plist>

Installing the Kerberos framework (optional)

  • This step is not possible if you do not use an Intel machine.

Copy over the Kerberos framework, so sshd will be able to use the ssh v2 protocol (without this step, you're limited to v1).

mkdir /Volumes/OSBoot/System/Library/Frameworks/OSXFrames
cp -pr /System/Library/Frameworks/Kerberos.framework /Volumes/OSBoot/System/Library/Frameworks/OSXFrames/.
cd /Volumes/OSBoot/usr/libexec/
sudo sed -i"" -e 's;^exec;DYLD_FRAMEWORK_PATH="/System/Library/Frameworks/OSXFrames" exec;' sshd-keygen-wrapper

(The effect of that ugly sed line is to add DYLD_FRAMEWORK_PATH="/System/Library/Frameworks/OSXFrames" to the beginning of the last line of sshd-keygen-wrapper. Using pico or vi is another possibility.)

Logging in

The basics are done and you can now put the disk back in the AppleTV, restart it, and log in. If you installed the Kerberos framework, the command is:

ssh frontrow@appletv.local

Otherwise use the command below which forces ssh to use the v1 protocol.

ssh -1 frontrow@appletv.local

The password, as shipped from Apple, is frontrow. If your box doesn't support Bonjour (that's most machines that aren't Macs, though you can install it on Windows, Linux, etc.), you'll have to connect to it by IP address, or put it in your local DNS or your /etc/hosts file (or analogue). In that case, figure out its IP address, and use that instead of "appletv.local".

IMPORTANT NOTE
The first time you try to SSH into the AppleTV, it will generate host keys. This takes a long time (at least compared to modern machines). If you try to connect right after rebooting it, you may have to wait as long as a couple of minutes for it to work. Be patient, and just try ssh again if it times out.

Other misc. notes:

  • If you are on a windows machine, use Putty or other ssh clients to connect.
  • The user "frontrow" has complete sudo privileges. To be root, do sudo -s and put in the password again (frontrow by default, remember?).

Logging in without a username or password

The previous contents of this section were terribly confusing. They recommended taking the ATV's private host key and using it as your personal key on your Mac (or perhaps as the host key on your Mac, it wasn't clear). Someone else later provided an "Alternate Method" which was correct, and this is mostly a light edit of that.

Everything here is done on your Mac, unless explicitly stated otherwise.

Checking for an existing identity

First, check to see if you have an identity already; if not, make one:

cd ; ls .ssh/id_rsa

If you see a file called id_rsa, then you already have an identity, and you can skip the next step.

Creating a new identity

Do this step only if you have no id_rsa file. (Don't worry if you have other files in .ssh- they don't matter, and we won't disturb them.)

To create a new identity file, type:

ssh-keygen

It'll ask for input three times, with lines that begin with "Enter". Just hit return each time. (You can use a passphrase if you're comfortable that you know what you're doing. Leave the filename alone.) It'll look like this, though the username and fingerprint will be different:

Generating public/private rsa key pair.
Enter file in which to save the key (/Users/alexis/.ssh/id_rsa): 
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in /Users/alexis/.ssh/id_rsa.
Your public key has been saved in /Users/alexis/.ssh/id_rsa.pub.
The key fingerprint is:
ef:3a:22:12:30:8e:37:7f:b5:0e:47:d4:e8:2f:9b:e9 alexis@alexis

Make SSH use username "frontrow" automatically

Do this on your Mac. It will only affect connections from your Mac to the AppleTV:

cat >>.ssh/config
Host appletv.local
 User frontrow
^D

"^D" means you must hit the Control and D button synchronously.

Once this is done, you can just do "ssh appletv.local" instead of "ssh frontrow@appletv.local". Or, if you're really lazy (like me), this (instead of the above) will let you do just "ssh atv" to connect!

cat >>.ssh/config
Host appletv.local atv
 HostName appletv.local
 User frontrow
^D

Installing the ssh key on the AppleTV

  • Copy your public key to your AppleTV. You'll need to enter the password, but you no longer need to specify a username:
scp .ssh/id_rsa.pub appletv.local:~/
  • ssh to your AppleTV (still using password "frontrow", but you no longer have to give a username):
ssh appletv.local
  • Now, while still connected to the AppleTV, make an .ssh directory on your AppleTV, create an "authorized_keys" file and move your public key into it.
mkdir .ssh
mv id_rsa.pub .ssh/authorized_keys

You're done. Exit the ssh session, and try it again. This time, you can connect to the AppleTV without having to enter a password (or by using your passphrase, if you chose to use one).

For more information, see the man pages for ssh, ssh-keygen, and sshd.

Notes

  • The old Step 5 described how to make ssh keys. You won't have to create those, as OS X will create them the first time you connect to its sshd if they don't already exist. Thus, this section was removed.
  • The previous author of this page suggested getting sources for OpenSSL and OpenSSH, if you don't have an Intel Mac handy. This method might be easier if you don't know how to extract files from packages such as the OS or Security updates.)
  • Old instructions were replacing the Kerberos.framework file of the AppleTV. This is causing some problems. In particular, mount_afp fails with "Illegal instruction". If you're running a hacked kernel with SSE3 emulation, this probably won't affect you, but otherwise, it's a major issue. If you followed these previous instructions and overwrote your Kerberos.framework, I'm sorry. :-( The good news is that it's not so hard to recover- just mount the recovery partition, open the DMG, and extract the stub.