maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Design (https://talk.maemo.org/forumdisplay.php?f=46)
-   -   How to SSH into N900 on a Mac (https://talk.maemo.org/showthread.php?t=45132)

aMeeGo 2010-02-19 17:02

[Solved] How to SSH into N900 on a Mac
 
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!

gidoca 2010-02-19 17:07

Re: How to SSH into N900 on a Mac
 
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.

m165 2010-02-19 17:08

Re: How to SSH into N900 on a Mac
 
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!

aMeeGo 2010-02-19 17:17

Re: How to SSH into N900 on a Mac
 
Quote:

Originally Posted by m165 (Post 536877)
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

Quote:

Sorry, try again

m165 2010-02-19 19:41

Re: How to SSH into N900 on a Mac
 
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?

gidoca 2010-02-19 20:14

Re: How to SSH into N900 on a Mac
 
Quote:

Originally Posted by aMeeGo (Post 536893)
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.

zwer 2010-02-19 20:20

Re: How to SSH into N900 on a Mac
 
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.

aMeeGo 2010-02-19 22:31

Re: How to SSH into N900 on a Mac
 
Quote:

Originally Posted by zwer (Post 537225)
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 :)

starman 2010-02-26 20:03

Re: How to SSH into N900 on a Mac
 
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??

zwer 2010-02-26 20:07

Re: How to SSH into N900 on a Mac
 
Try adding port number after that, e.g. sftp://root@19.0.2.7:22


All times are GMT. The time now is 04:15.

vBulletin® Version 3.8.8