Pin It

Transfer Ringtone to iPhone wirelessly with SSH

Many people say, iPhone is not just a mobile phone, it’s a mobile computer. Pretty right. You may know iPhone is powered by a stripped-down version of Mac OS X, which is actually riding on Unix as its core. So, instead of docking your iPhone and transfer ringtone to/from your iPhone using iBrickr or iFuntastic, you can use SSH to transfer any files (including ringtone) wirelessly. SSH is a remote access tool that is commonly used in Linux/Unix and you can install it on iPhone. With SSH, you can access your iPhone remotely and run command/transfer any files to it.

Before I go further into the details, I should make a disclaimer :-) that the below procedures is not very user friendly, as that compared to iBrickr or iFuntastic. But you can have a better control of the iPhone and transfer the ringtone wirelessly. Okay, let’s get start.

Install OpenSSH on iPhone

That’s the easiest step. Just launch “Installer” and install “BSD Subsystem”, “Community Sources”, and “OpenSSH”. BSD Subsystem and Community Sources are the dependent packages of OpenSSH. So, you need to install them first. After installation, SSH is automatically started up.

OpenSSH on iPhone

Connect to your wireless network

Before you can remotely access the iPhone, you need to know its IP address. The second step is to connect your iPhone to the wireless network. Once connected, go to “Settings” -> “Wi-Fi”. Select the connected network and find out the IP address.

Wi-fi Settings

SSH to your iPhone

On Mac, you can launch “Terminal” in Finder and type “ssh root@<your IP address>”. For first time connect, it may take longer (around 30s) to make the connection. When prompt to accept authentication, answer “yes” and press <ENTER>. Next, you’ll be asked for the root password. Type “alpine” if you’re using iPhone 1.1.4 and “dottie” for iPhone 1.1.1 or lower. Now, you should be in the iPhone and you can type usual Unix command to navigate the iPhone. To quit from the iPhone, type “exit” to terminal the session.

Terminal

Microsoft Windows does not come with any SSH client. For Windows users, you can download WinSCP, which is a free SSH client.

Transfer Ringtone to iPhone

As you can now access your iPhone using SSH, you can also freely transfer file (e.g. ringtone) to it. Ringtone files on iPhone is defined with an extension “.m4r”. It is actually the same as your AAC file (remember it’s in AAC format, not MP3) but with different extension. Before you transfer the ringtone, remember to rename the file to “.m4r”.

For Mac user, you can use the same terminal and type “scp root@:/Library/Ringtones”. As usual, you need to type the root password again.

Transfer ringtone with scp

I know you may not be comfortable using command line. A more user friendly way is to use Cyberduck. It offers a GUI to drag and drop file to the iPhone.

Cyberduck

For Windows user, you can also use SCP to the same thing.

Ok! Go back to your iPhone and you should find your ringtone.

Iphone ringtone

About Simon Ng

Founder, developer and chief blogger of simonblog.com

, ,

  • http://www.free-nokiaringtones.biz royan

    nice blog

  • richard

    Hi, I have an iphone 1st generation pwnage and is running version 2.0.2. i have tried this way but all that it keeps saying is that the connection has been refused. So if anyone has got a way to do it that works it would be appreciated, cheers Rich

  • rex

    i don’t see bsd subsystem.. im using the iphone 3g please help.

  • http://www.simonblog.com Simon Ng

    rex, I guess you’re using Cydia. For cydia, you can just install SSH. You can find SSH in Featured Packages at “Home” screen of Cydia.

  • Sonia

    Please, how can I delete an application installed with Cydia? it has no “x“ to press to delete it.

    Thank you,

  • http://www.simonblog.com Simon Ng

    Sonia, you can check out this post that briefly describes how you use cydia including upgrade and uninstall Cydia application.

  • Pingback: Air Sharing – The Easiest Way to transfer & view Document on iPhone « Tamxiarang2612 ( Pls don’t close my blog !!)

  • Paul

    Is all of this being done on the iphone only or should some of this be done on my PC? Also, what is Installer, and where does it find BDS Subsystems, etc? Am I missing a blog that explains all this? Sorry for the poor background, but I would love to be able to explore the iphone using this technique.

  • megaberl

    So, the only way I can use SSH for iphone Wifi file transfer is if the phone is jailbroken? And jailbraking an iphone is a major procedure that a tech-knowledgeable person should only attempt, am I correct in this? Thanks again for the info.

  • shuki

    hey simon. great work.

    can you give me the useful links inside my iphone ?
    where can i find my photos ? music ? etc.

    thanks man.

  • sbankol

    After installing openssh on my iphone, how do i access it since there is no app on the phone to do that.

    • http://www.simonblog.com Simon Ng

      @sbankol,

      You can further check out this SSH guide.

  • Stephen

    Bluetooth on the iPhone cannot recognise another phone. Is there any app that can activate this.

  • zam

    hey got a prob here. works all well but the ringtone doesnt work. how to fix?

    • http://www.simonblog.com Simon Ng

      @zam, is your file in .m4r format? Other than using this method, you can also check out this post about how you can create custom ringtone.

  • http://abhinandan.info Abhi

    Hey Simon,

    Thanks for the great info, I have installed SSH, and even uploaded files onto my iphone 3gs running ios (4.0), I can see whenever I connect that my files are there, But when I connected first time the folder Ringtones was not present under Library and I had to create the same, and then transfer my files..

    But Now I am not able to see the uploaded files under my ringtones selection through settings.. What am I missing ,please help me out over here..

    thanks

  • muizz

    thnks for this great guide,
    but is there a way to transfer sms ringtone using ssh???

  • serangoon dbss

    I will right away snatch your rss as I can not in finding your email subscription link or newsletter service. Do you’ve any? Please permit me understand so that I may just subscribe. Thanks.

  • Carlee Biemer

    Mr. Deeds, although I love all of his movies!

  • Tom

    Thanks Simon for the info!

    Tom

  • Paul

    Have there been any improvements in wireless connections with the iphone since this blog started? I’m still having trouble using WinSCP.