![]() |
ssh-status AKA "SSH Status and Switcher"
https://gitorious.org/n900-ssh-statu...ssh-status-tmp
http://maemo.org/downloads/product/Maemo5/ssh-status/ http://maemo.org/packages/view/ssh-status/ https://garage.maemo.org/projects/ssh-status/ To prevent sshd from starting comment/remove "start on ..." line from /etc/event.d/sshd It's almost perfect as it is in 0.1-9 but I wanted to add just one more line to the stopping code: Code:
killall sshd I've contacted Andrei and he said he wouldn't mind me uploading a new version. |
Re: ssh-status AKA "SSH Status and Switcher"
Yes please :)
|
Re: ssh-status AKA "SSH Status and Switcher"
@int_ua
If you are already on it, would you mind to insert a config (e.g. simple and easy check for presence of file [enable: touch ssh_on_reboot]) to have ssh aauto started after reboot? Since some version, it was disabled. I made me a workaround (I cannot remember right now ;)) to have ssh on automatically after boot. Regarding your question: this would kill also outgoing self-established connections? Then against it. Or just the listening daemon (with all incoming connections)? Then agreed. But I could also imagine there are use cases to stop the daemon to disable further incoming connections, but keep the already existing alive. So better wait for more input. |
Re: ssh-status AKA "SSH Status and Switcher"
Quote:
Quote:
|
Re: ssh-status AKA "SSH Status and Switcher"
Sorry for late reply, but I needed to check a few things and tried to remember, what I had done.
I remember to have checked some sources, but to no avail (two? years ago?). And found that a simple one-liner '/sbin/initctl start sshd' in one of my customization init scripts did the trick. One negative downside is that sshd status ui does show 'status off' after reboot, but actually it's status is on (something I could/can live with). Code:
description "starting my own mounts and swaps" |
Re: ssh-status AKA "SSH Status and Switcher"
keep going:)
|
Re: ssh-status AKA "SSH Status and Switcher"
Quote:
http://talk.maemo.org/showpost.php?p...6&postcount=12 Now I think it's not the task for this package after all, it's just status and switcher. |
Re: ssh-status AKA "SSH Status and Switcher"
@int_ua
Dumb me checked the debian control file just after removing/rebooting (sshd DID start) and/but after reinstalling/reboot (did NOT start) to check once again: Quote:
|
Re: ssh-status AKA "SSH Status and Switcher"
Quote:
Code:
system("sudo /usr/sbin/ssh-status.sh stop") Currently I'm having troubles working with SDK being unable to work with sudo even after replacing it with fakeroot. http://maemo.org/community/maemo-dev...ysklogd_fails/ Update: But sshd just ignores whole /etc/init.d/ssh on the start making /etc/ssh/sshd_not_to_be_run pointless. See /etc/event.d/sshd Update 2: I've sent a mail to the maintainer |
Re: ssh-status AKA "SSH Status and Switcher"
Update: there are some files that weren't added to git, working on it.
FTBFS. I've started with removing the code that stops sshd and fixing openssh-server that inores /etc/ssh/sshd_not_to_be_run but it failed to build with Quote:
https://garage.maemo.org/builder/fre...-status_0.2-0/ Code: https://gitorious.org/n900-ssh-statu...ssh-status-tmp Command that I've used (on N900): Code:
$ dpkg-buildpackage -sa -S -d -I.git -rsudo |
All times are GMT. The time now is 02:24. |
vBulletin® Version 3.8.8