Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    How to SSH into N900 on a Mac

    Reply
    Page 1 of 2 | 1   2   | Next
    aMeeGo | # 1 | 2010-02-19, 17:02 | Report

    hi all. firstly, i love my n900. a few things, i installed openssh on my n900 but clicked next to where i was asked to enter a password and the dailogue box disappeared. i therefore have no password on my openssh even after uninstalling and reinstalling.

    secondly, i used to use cyberduck to ssh into my iphone to install themes and icons. how do i go about doing this on the n900? the ihone had a default password "alpine". does the n900 have something similar?

    i really want to install some new icons and fonts on this beauty!

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by aMeeGo; 2010-02-19 at 22:51. Reason: solved

     
    gidoca | # 2 | 2010-02-19, 17:07 | Report

    To use ssh on a Mac, you can simply use the ssh command in a terminal. It is installed by default. About the N900 part, I'm not sure this works (can't test it, as I'll get my device tomorrow), but try this: run "dpkg-reconfigure openssh" as root in a terminal on the N900. This should show you the configuration dialog again.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by gidoca; 2010-02-19 at 17:11.
    The Following User Says Thank You to gidoca For This Useful Post:
    aMeeGo

     
    m165 | # 3 | 2010-02-19, 17:08 | Report

    I did this last night funnily enough using Cyberduck too, also trying Fugu as well, both work very well.

    What I did was change the root password to begin with. You can do it by entering

    sudo passwd root

    into the terminal, and you get to change the password in the next step. Note you wont see anything when you type.

    Then in Cyberduck, just enter the IP address for the N900, make sure its port 22, username is root, and the password is what you just entered. This should work!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to m165 For This Useful Post:
    aMeeGo, zlatokosi

     
    aMeeGo | # 4 | 2010-02-19, 17:17 | Report

    Originally Posted by m165 View Post
    I did this last night funnily enough using Cyberduck too, also trying Fugu as well, both work very well.

    What I did was change the root password to begin with. You can do it by entering

    sudo passwd root

    into the terminal, and you get to change the password in the next step. Note you wont see anything when you type.
    in terminal i get the response

    Originally Posted by
    Sorry, try again

    Edit | Forward | Quote | Quick Reply | Thanks

     
    m165 | # 5 | 2010-02-19, 19:41 | Report

    I'm not familiar with the terminal at the moment, but someone posted that before and it worked for me. Maybe search on re-setting the root password may help?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    gidoca | # 6 | 2010-02-19, 20:14 | Report

    Originally Posted by aMeeGo View Post
    in terminal i get the response "Sorry, try again"
    Well, that's because sudo asks you to enter the current root password (I assume). If you just clicked next when you were asked to set a password, you might now have an empty password, so try to just press enter when asked for a password. Then you should be asked to enter a new password. But as I said, I haven't tried it myself as I don't have a device.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to gidoca For This Useful Post:
    aMeeGo

     
    zwer | # 7 | 2010-02-19, 20:20 | Report

    For root password:

    Code:
    sudo gainroot
    passwd
    (actually, it might work inline as well)

    For user password:

    Code:
    sudo gainroot
    passwd user
    In xterm on N900... After setting your password(s) everything should be fine and dandy.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to zwer For This Useful Post:
    aMeeGo, VladNistor

     
    aMeeGo | # 8 | 2010-02-19, 22:31 | Report

    Originally Posted by zwer View Post
    For root password:

    Code:
    sudo gainroot
    passwd
    (actually, it might work inline as well)

    For user password:

    Code:
    sudo gainroot
    passwd user
    In xterm on N900... After setting your password(s) everything should be fine and dandy.
    That worked! Thanks

    Edit | Forward | Quote | Quick Reply | Thanks

     
    starman | # 9 | 2010-02-26, 20:03 | Report

    ive been trying this my self but always get following from cyberduck

    Network Error: Connection failed
    sftp://root@10.0.2.7
    Connection refused.

    i reset the root passwords, as listed about, i know the i.p address is correct, Im at a loss.

    Any one got any ideas??

    Edit | Forward | Quote | Quick Reply | Thanks

     
    zwer | # 10 | 2010-02-26, 20:07 | Report

    Try adding port number after that, e.g. sftp://root@19.0.2.7:22

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 1 of 2 | 1   2   | Next
vBulletin® Version 3.8.8
Normal Logout