Home User CP Donate Chat Register Today!  
  Get New posts Faq / Help?
   


Go Back   Hackint0sh > Projects and Hacks > AppleTV

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-06-2009, 06:35 AM
ratcho
Status: Offline
Trial Member
 
Join Date: Aug 2009
Posts: 1
Rep Power: 0
ratcho is on a distinguished road
Default no luck installing ssh w/ kerberos from 10.4.9 via linux

Hi all,

I have been pulling my hair out trying to install SSH.

My ATV hack was done via a patchstick that installs dropbear, not openSSH. (ATVUSB-Creator). Everything works fine that way, but I would like to replace dropbear w/ openSSH (for various reasons, mainly because I want to tweak options in sshd_config that I can't or don't know how to tweak in dropbear).

Many times have I followed the instructions to install ssh on AwkwardTV, but without success (i.e., I can only get ssh protocol 1 working, not protocol 2).

Here is what I have done:

1: Factory restore ATV

2: Update ATV to 2.4

3: Patch ATV (install dropbear and XBMC/Boxee Launcher).
--confirm that ssh works--protocol 2 ok

4: Follow instructions exactly from AwkwardTV.
Remove the dropbear binaries in /usr/bin and /etc, remove the dropbear plist file from /System/Library/LaunchDaemons, and remove related dropbear files. Shutdown-restart.
--using sshd, kerberos, etc. from 10.4.9 Intel update
--recall that I'm on linux, no Mac available
--confirm that ssh -1 works, but not ssh -2

5. Re-do steps 1-4, but don't install kerberos from 10.4.9, as it's already in /System/Library/Frameworks --as suggested as an alternative in AwkwardTV wiki's how-to.
--confirm that ssh -1 works, but not ssh -2

6. Extensive googling, forum-searching, etc. to find possible solutions, but no luck.

Three potentially useful pieces of information are:

1. ATV software is 2.4
2. After ssh install, when I sftp -1 into frontrow@appletv.local, I get an error message telling me that sshd-keygen-wrapper was not found at /usr/lib/openssh. So, I tried putting a copy of it there, and then I could sftp in.
3. After doing all this, if I remove the ssh.plist file in LaunchDaemons, replace the dropbear plist file there, and replace the dropbear binaries etc., then reboot or shutdown/restart, it is still sshd rather than dropbear that is listening. That is, I can ssh -1 but not ssh -2. I don't know if this has to do with files left over from the ssh authentication or what, but in any case sshd apparently launches itself (?) even without the ssh.plist file in /System/Library/LaunchDaemons.

So you can see, I hope, what has made me to turn you y'all for advice. If you have any, please let me know.

Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 08-06-2009, 09:15 PM
gbooker
Status: Offline
Member
 
Join Date: Feb 2009
Posts: 39
Rep Power: 0
gbooker is on a distinguished road
Default

Using Darwin's OpenSSH is a far far easier way to install OpenSSH. Unfortunately, the iso file seems to be taken down and no mirrors have it any longer. I don't have the bandwidth to host the file, but if someone out there does, this would be beneficial to the community. From what I know of the license (APSL and the like), there is no issue with distributing the unmodified iso file.

Anyway, if you managed to find the darwin iso file, what you want is: Install SSH - AwkwardTV I've tried the kerberos route before, ran into a bunch of hell, and I have a mac from which I can pull binaries. I found using the binaries from Darwin to be far less painful.

The install is essentially, mount the iso, copy over the archive, untar it in /, edit the config file so OpenSSH is enabled (it is disabled by default), reboot. There are only two gotchas. The first is the archives are compressed with bzip2, and the ATV doesn't come with bzip2 (though you can install the bzip2 archive and then tar will happily use it). The solution to that is to unbzip2 the file before you transfer it, and give you said you run linux, this should be trivial. The second is you need to edit one of the files (config file). You could either install vim, or you could transfer the config file to your machine, edit, and transfer back.

Anyway, hope this helps out some.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +2. The time now is 08:54 AM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 Ad Management by RedTyger
follow us on Twitter!

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105