![]() |
Re: disabling ssh server on n900
DrWilken
No problems. I have noticed with the ssh server that I can't login remotely [and maybe locally but can't be tested] until I open a login shell. Initially I thought it to be a PITA, but I guess its a nice safety feature, if it is indeed such. Anyone else with this or is it something unique to mine? Thanks. |
Re: disabling ssh server on n900
I haven't noticed this (but I disabled the ssh server so I always open a login shell to start ssh before using it anyways)... ;)
|
Re: disabling ssh server on n900
Quote:
|
Re: disabling ssh server on n900
Quote:
|
Re: disabling ssh server on n900
DrWilken, thanx for pointing to the update-rc.d...
The "update-rc.d -f ssh remove" does the job and sshd does not come up after restart or whatsoever... Now it is only by demand through the "/etc/init.d/ssh start|stop"... At least it works for me.... ;) |
Re: disabling ssh server on n900
Glad I helped out... ;)
|
Re: disabling ssh server on n900
Quote:
Good work DrWilken |
Re: disabling ssh server on n900
The other thing I'm thinking about... is there any way to create a shortcut to start/stop ssh as root through the main menu?
Just like one I have for VNC under the user: Nokia-N900-42-11:/usr/share/applications/hildon# cat x11vnc.desktop [Desktop Entry] Encoding=UTF-8 Version=0.93 Type=Application Name=x11vnc Exec=/usr/bin/x11vnc Icon=control_device_setup X-Window-Icon=control_device_setup X-Window-Icon-Dimmed=control_device_setup Nokia-N900-42-11:/usr/share/applications/hildon# Or may be there is a way to start ssh under the user? Most probably this may work: http://svashishtha.wordpress.com/200...ost-on-ubuntu/. Well.. the only thing that I did forget about is that if there is no sshd up, it won't be possible to do a ssh root@localhost to start up sshd... :D sshd stopping does work through this WA. ;) |
Re: disabling ssh server on n900
Quote:
Code:
upstart-compat-sysv - compatibility for System-V-like init |
Re: disabling ssh server on n900
Quote:
As root: Code:
visudo Code:
Exec=/usr/bin/sudo /usr/bin/x11vnc |
All times are GMT. The time now is 17:43. |
vBulletin® Version 3.8.8