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)

starman 2010-02-26 20:10

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

Originally Posted by zwer (Post 548135)
Try adding port number after that, e.g. sftp://root@19.0.2.7:22

ok tried that - no cigar :(

zwer 2010-02-27 00:08

Re: How to SSH into N900 on a Mac
 
Are you sure that sshd is running on your device? Go to xterm and type:

Code:

ps | grep sshd
If you installed the OpenSSH Client, you can try to ssh the device from the device itself to check if ssh is working. To do that, type:

Code:

ssh root@localhost
If the last one works, you definitely have a network problem - either your network doesn't rely the connection to the N900, or you have a wrong IP.

Scottlfa 2010-02-27 00:39

Re: How to SSH into N900 on a Mac
 
opne terminal
type; sudo gainroot
type; /etc/init.d/ssh start

there you go ssh running on the N900 [make user openssh client & server deb is installed from the repo's]. SSH has to be called directly through a full path, once started its fine.

Been ssh'ing from various platforms for a few weeks.

starman 2010-02-27 20:32

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

Originally Posted by zwer (Post 548383)
Are you sure that sshd is running on your device? Go to xterm and type:

Code:

ps | grep sshd
If you installed the OpenSSH Client, you can try to ssh the device from the device itself to check if ssh is working. To do that, type:

Code:

ssh root@localhost
If the last one works, you definitely have a network problem - either your network doesn't rely the connection to the N900, or you have a wrong IP.

okie dokie, i tried your suggestion and when typing

ssh root@localhost

i get the following

ssh: connect to host localhost port 22: connection refused :(

zwer 2010-02-27 23:03

Re: How to SSH into N900 on a Mac
 
Well, in that case you either don't have OpenSSH Server installed (install from here: http://maemo.org/downloads/product/M...penssh-server/ ), or you don't have it running. If it's not running you can start it from xterm with:

Code:

sudo gainroot
initctl start sshd


vvmanoj 2010-03-01 05:26

Re: How to SSH into N900 on a Mac
 
I had the same issue and then found out the default password for openSSH is "rootme"

Cheers,
Manoj


All times are GMT. The time now is 20:45.

vBulletin® Version 3.8.8