![]() |
Re: disabling ssh server on n900
Quote:
Yeah I know what you mean. I still have no clue with upstart [yet] |
Re: disabling ssh server on n900
you could also edit the /etc/ssh/sshd_config file and have sshd listen on some other, more obscure port by changing the line that says
Port 22 to be some other port well about 1024. Works for me... |
Re: disabling ssh server on n900
This is most likely a very stupid question - i'm just starting to learn linux so my knowledge is minimal.
I've spent time reading the posts regarding ssh, got WINSCP installed on an XP machine and successfully connected from the xp machine into the N900. Even correctly re-jigged the port to a non default one. Pinging and tracert shows the N900 is correctly registered on my domain (connecting to the domains wifi) But, there's always a but. How from the N900 would I connect to machines on the domain and browse network shares? This is where my ignorance comes into play .. is this possible if so is there a step by step idiots guide anywhere? Any info / advice much appreciated. Cheers .. as an addendum to the above, - unrelated. How would I open say the sshd_config file on the N900? Is it via xterm? or is the only way as I've already done by copying to my xp machine and using wordpad? |
Re: disabling ssh server on n900
cant answer the first part but you can edit the sshd_config using midnight commander (from extras i think) straight from ur n900.
|
Re: disabling ssh server on n900
I found the Wizard mounter app - that does the job nicely.
Just connect to the domain on wifi, then map and mount network shares Works perfectly. |
Re: disabling ssh server on n900
Quote:
I think what's needed here is a different condition, say by checking the current runlevel or for a running process, so that starting of the SSH server is only inhibited during the boot process. I will post back if I learn more. Edit: I just tried scripting it to check for the current runlevel, but that came back with a permission denied for some reason; it worked fine when executing the same commands manually. |
Re: disabling ssh server on n900
installed openssh-server and executed
Code:
cat /etc/init.d/ssh Don't know if creating this file will affect applet. Will try later. |
Re: disabling ssh server on n900
Quote:
|
Re: disabling ssh server on n900
Quote:
|
Re: disabling ssh server on n900
Hello guys,
tonight I had the same issue and with some hints from the #n900 channel I was able to arrive at a quick fix to do what we want it to do... but it's that..a quick hack. Next time you update your packages it will be written over. Apparently the N900 does not use the SysV init files that we all know and love but it uses upstart so, to solve our little problem, I simply changed the file responsible for starting ssh go to /etc/event.d and edit sshd with your favorite UNIX aware text editor. replace: Code:
start on stopped rcS Code:
#start on stopped rcS That's it. Reboot your phone and all is good. |
All times are GMT. The time now is 11:33. |
vBulletin® Version 3.8.8