![]() |
Re: accessing N9 thru SSH over wifi
|
Re: accessing N9 thru SSH over wifi
I'm trying to get wpa_supplicant running (for Cicso LEAP), and have a problem that is probably related. It seems that ioctl() set calls on the interface fail with EACCES. This looks like some sort of security mechanism as well.
Please let us know how your sshfs work goes. And thanks for doing it! |
Re: accessing N9 thru SSH over wifi
Hello
I did this and now I have access with WinScp, but I can't copy/past to system folders, I can only to MyDocs.. Don't know why.. Can someone explain what wrong and what I need to do ? Thanks |
Re: accessing N9 thru SSH over wifi
Quote:
http://harmattan-dev.nokia.com/docs/...attan_Security When you understand that, then you can please explain it all to me :-) I don't have the courage to read anything about security with a full stomach . . . I might end up with a round-trip meal ticket. That poor joke aside, I have a Linux system source package (WPA supplicant) that compiles without any changes in the scratchbox. But to be able to use it on the N9, I will need to create a deb build package, which will add the necessary Aegis stuff. Otherwise, I will probably not be able to use ioctl()s on the network interface :-( It would be nice if the create_project script had a utility to import existing Makefiles. But I think my only option will be major surgery in the deb and original Makefile. With the result being a sort of Frankenstein-Make-Qmake file . . . |
Re: accessing N9 thru SSH over wifi
Quote:
Thanks |
Re: accessing N9 thru SSH over wifi
Quote:
|
Re: accessing N9 thru SSH over wifi
I noticed following issue with logging to N9 via SSH: every now and then I stop being able log in as developer - "Permission denied, please try again." I am sure I enter the correct password. After I set-up developer password on the device itself anew(the same as before actually) I can log in without any problem for several days, until this happens again. This is kinda annoying and I wonder have somebody experienced such behaviour so we can file a bug report for this?
|
Re: accessing N9 thru SSH over wifi
Hello,
I'll just use this thread instead of creating a new one. I wonder where all the /etc/init.d/* scripts are. On my N900, I can run: /etc/init.d/sshd restart in order to restart the ssh daemon. I don't want to keep the ssh server running all the time on my N9 but I do not see a "nice" possibility to do that - pkill is not nice for me ;). My google search returned "/usr/sbin/invoke-rc.d sshd restart", but this does nothing and so I had a look into that file: Code:
#!/bin/sh Any ideas? Regards |
Re: accessing N9 thru SSH over wifi
Try
Code:
/sbin/initctl stop ssh Code:
/sbin/initctl start ssh |
Re: accessing N9 thru SSH over wifi
Quote:
http://canyouseeme.org Just look up the page from your phone when connected via 3G and enter the port number (this page will also show your IP address). So I changed to port 24 (they only blocks 22, 23, 110, 1080, 1433, 3389, 5900, 8080). In the file /etc/ssh/sshd_config, change the line "Port 22" to "Port 24" or the port of your choice. I did this and the abovementioned web page can now see me. And more importantly, it works. :cool: But be aware of the security risks if you succeed! |
All times are GMT. The time now is 16:11. |
vBulletin® Version 3.8.8