Changes

From Amahi Wiki
Jump to: navigation, search
no edit summary
==Using Putty's SSH tunnelling to listen to Amahitunes==
=This page is about using Putty's SSH tunneling to listen to [[AmahiTunes]]   ==But why?=== 
Having successfully managed to use SSH to access and manage my HDA from work I got thinking about how to actually do something useful and make my day a tad more pleasurable and learn something about SSH tunnelling to boot. So I set about using Apple iTunes to listen to music stored on my HDA.
----
===What do I need?===
* Your HDA needs to be running an SSH server
* Your router needs to forward an arbitary port to port 22 on your server
* Download and install '''Rendezvous Proxy''' from here: [http://ileech.sourceforge.net/index.php?content=RendezvousProxy-Download RendevousProxy]
----
===How do I create the tunnel?===
We are going to use '''Putty''' to create a SSH connection and tunnel to your HDA. PuTTY is an SSH and telnet client, developed originally by Simon Tatham for the Windows platform. PuTTY is open source software that is available with source code and is developed and supported by a group of volunteers.
Start '''putty.exe''' on you Windows machine and you will be presented with the window below. If the right hand side shows anything different then highlight ''Sessions'' on the left to return to the shown display. Enter the hostname for your HDA: '''''yourhdaname.yourhda.com''''' and the port on your router that is forwarded to '''port 22''' on your HDA, I havea have used 2002 in this example but any unused port should suffice. Make sure '''SSH''' radio button is selected. Finally give your session an easy to remember name and type it in the ''Saved Sessions'' box and press ''Save''
[[Image:Red-P01.png]]
Now I use key encryption to authorise with my SSH Server. The key is entered by selection the ''Auth'' menu item and pointing Putty at the key-file. ''(I intend to write a seperate article on Howto for thishere [[Key-based SSH Logins With Putty]]).'' In the meantime login with your ''username'' and ''password.'' make sure it's a secure password to defeat in brute force attacks on your server. Port forwarding from a random port to 22 offers some security against brute force attacks.
[[Image:Red-P02.png]]
[[Image:Red-P06.png]]
----
===Setting up the proxy===
OK now fire up '''RendevousProxy.''' '''''Note: ''''' This requires java to run. Press '''Add Host'''
[[Image:Red-P11.png]]
----
===Starting iTunes===
iTunes should now pick up your server as a share. I have AmahiServer showing twice as I am writing this on my LAN on which sits my HDA.
[[Image:Red-P12.png]]
Trusted, Bots, Bureaucrats, emailconfirmed, Administrators
3,789

edits