The Following User Says Thank You to DaveQB For This Useful Post: | ||
|
2010-01-03
, 13:58
|
Posts: 515 |
Thanked: 266 times |
Joined on Nov 2009
@ Oelsted, Denmark
|
#22
|
The Following User Says Thank You to DrWilken For This Useful Post: | ||
|
2010-01-03
, 14:13
|
Posts: 152 |
Thanked: 41 times |
Joined on Dec 2009
@ Sydney
|
#23
|
|
2010-01-03
, 14:18
|
Posts: 515 |
Thanked: 266 times |
Joined on Nov 2009
@ Oelsted, Denmark
|
#24
|
The Following User Says Thank You to DrWilken For This Useful Post: | ||
|
2010-01-03
, 21:12
|
Posts: 18 |
Thanked: 14 times |
Joined on Jan 2010
|
#25
|
|
2010-01-03
, 21:20
|
Posts: 515 |
Thanked: 266 times |
Joined on Nov 2009
@ Oelsted, Denmark
|
#26
|
|
2010-01-03
, 23:09
|
Posts: 152 |
Thanked: 41 times |
Joined on Dec 2009
@ Sydney
|
#27
|
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....
|
2010-01-04
, 16:26
|
Posts: 18 |
Thanked: 14 times |
Joined on Jan 2010
|
#28
|
|
2010-01-04
, 20:05
|
Posts: 32 |
Thanked: 9 times |
Joined on Nov 2009
@ Norway
|
#29
|
I thought upstart was meant to be SysV compatible. I was surprised Debians update-rc.d script was not working when reading this thread.
upstart-compat-sysv - compatibility for System-V-like init
|
2010-01-04
, 23:37
|
Posts: 152 |
Thanked: 41 times |
Joined on Dec 2009
@ Sydney
|
#30
|
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...
sshd stopping does work through this WA.
visudo O user ALL = NOPASSWD: /usr/bin/x11vnc [ESC] :x
Exec=/usr/bin/sudo /usr/bin/x11vnc
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.