maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   accessing N9 thru SSH over wifi (https://talk.maemo.org/showthread.php?t=79355)

tratrafe2 2011-11-07 17:52

Re: accessing N9 thru SSH over wifi
 
i made a step by step tutorial here ;)
http://www.youtube.com/watch?v=wccMF2lDH5A

F2thaK 2011-11-11 08:56

Re: accessing N9 thru SSH over wifi
 
Quote:

Originally Posted by SteveYoungs (Post 1114926)
Well, I've never used the SDK connect thing, but the way I set mine up was...

From terminal on N9:

Code:

devel-su
mkdir .ssh
su - developer
mkdir .ssh


I cant get past step "su - developer", Ive updated to PR1.1 and i get not authorised error or some sh.t. F>>K ssake

SteveYoungs 2011-11-11 22:10

Re: accessing N9 thru SSH over wifi
 
Quote:

Originally Posted by F2thaK (Post 1121732)
I cant get past step "su - developer", Ive updated to PR1.1 and i get not authorised error or some sh.t. F>>K ssake

I still haven't received PR1.1 yet, so I don't know for sure. I guess it is possible that they have further crippled the thing by removing root's access to su somehow. Although I cannot imagine why they'd be so stupid to do that.

Perhaps you need to use `devel-su' from root now too?

F2thaK 2011-11-12 02:11

Re: accessing N9 thru SSH over wifi
 
yes, with pr1.1 theyve disabled root access in another config file. found the fix on meego forum.


Post PR1.1, to enable remote root login again (or rather make it controllable via
/etc/ssh/sshd_config like before):


Code:

echo -e 'mkdir -m 0755 -p /var/run/sshd\nexec /usr/sbin/sshd $SSHD_OPTS' >> /etc/default/ssh
pkill -9 /usr/sbin/sshd

annd reboot.

Schturman 2011-11-12 10:27

Re: accessing N9 thru SSH over wifi
 
Quote:

Originally Posted by tratrafe2 (Post 1119573)
i made a step by step tutorial here ;)
http://www.youtube.com/watch?v=wccMF2lDH5A

Thanks, very useful video :)

DaShaker 2011-11-13 22:06

Re: accessing N9 thru SSH over wifi
 
Quote:

Originally Posted by tratrafe2 (Post 1119573)
i made a step by step tutorial here ;)
http://www.youtube.com/watch?v=wccMF2lDH5A

Thanks for the video! You might want to include a demo of SSHFS as well. On a Linux client, you can mount your N9 with a command like this:

sshfs user@N9ip:/home/user/MyDocs/share /home/myuser/share

SSHFS runs over SSH, so nothing further is needed on the N9 side. You can now access the N9 from the Linux box under share.

On a Windows system, there is a Dokan SSHFS client. With this you can mount something on the N9 as a logical drive. So N: is /home/user/MyDocs/share on Windows, for example.

Now I just need a Samba and SSHFS client for the N9, to access Linux and Windows servers from the N9 . . .

Schturman 2011-11-13 22:36

Re: accessing N9 thru SSH over wifi
 
Quote:

Originally Posted by DaShaker (Post 1123112)
Thanks for the video! You might want to include a demo of SSHFS as well. On a Linux client, you can mount your N9 with a command like this:

sshfs user@N9ip:/home/user/MyDocs/share /home/myuser/share

SSHFS runs over SSH, so nothing further is needed on the N9 side. You can now access the N9 from the Linux box under share.

On a Windows system, there is a Dokan SSHFS client. With this you can mount something on the N9 as a logical drive. So N: is /home/user/MyDocs/share on Windows, for example.

Now I just need a Samba and SSHFS client for the N9, to access Linux and Windows servers from the N9 . . .

Thanks.. Can you write a full guide step by step for windows users, please?

shmerl 2011-11-13 23:28

Re: accessing N9 thru SSH over wifi
 
For windows you'll probably need to install cygwin first.

DaShaker 2011-11-13 23:46

Re: accessing N9 thru SSH over wifi
 
Quote:

Originally Posted by Schturman (Post 1123121)
Thanks.. Can you write a full guide step by step for windows users, please?

The download site for DokanSSHFS is here: http://dokan-dev.net/en/download/
Download:
DokanInstall_0.6.0.exe
dokan-sshfs-0.6.0.zip
dokan-sshfs-0201226.zip
Microsoft Visual C++ 2005 SP1 Redistributable Package
(I can't post all the links, since I am a new member)

1) Unpack the zipped files into separate directories. Install the Microsoft Visual C++ 2005 SP1 Redistributable Package first.

2) Run the DokanInstall_0.6.0.exe to install the Dokan libraries.

3) In the dokan-sshfs-0201226 directory, run the installer to install the older 0.2 version. This is necessary because the 0.6 version does not have an installer. This will probably ask for a reboot.

4) From the 0.6 unzipped directory, copy (overwrite )DokanNet.dll and DokanSSHFS.exe in the installed location, C:\Program Files\Dokan\DokanSSHFS.

5) Start the Dokan GUI from the desktop Icon or from Windows Start. Everthing is pretty much self explanatory:

Host: N9ip
User: User
Password: xxxx (I haven't figured out how to use the "identity" yet)
Server Root: /home/user/MyDocs/share
Drive: N

Oh, I forgot to mention in my first post. You might also be interested in using VNC. This allows you to have your phone interface as a window on Windows or Linux. The VNC server is on the Nokia shop for free called "Netview." VNC clients are available for Windows and Linux called vncviewer. This is nice if you are configuring something on the phone with a GUI, but want to use a full size keyboard to type in the text fields on the GUI. Just start Netview on the N9, and use "vncviewer N9ip."

Have fun!

DaShaker 2011-11-14 00:00

Re: accessing N9 thru SSH over wifi
 
Quote:

Originally Posted by shmerl (Post 1123150)
For windows you'll probably need to install cygwin first.

No, there is no need for cygwin. On Linux SSHFS works through a kernel module called Filesystem in Userspace, or FUSE. Dokan is a Windows implementation of FUSE (more or less). So it is just a few Windows .exe's and .DLL's.


All times are GMT. The time now is 00:26.

vBulletin® Version 3.8.8