turn sshd off via rcconf?

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
kwevej

turn sshd off via rcconf?

Post by kwevej »

Hello,

I get a strange listing from rcconf, where ssh seems to be turned off:

Code: Select all

sudo rcconf -list
rsync on
speech-dispatcher on
boinc-client on
cryptdisks on
winbind on
x11-common on
lm-sensors on
wicd on
granola on
pulseaudio on
saned on
pcmciautils on
cups on
fancontrol on
bluetooth on
vboxdrv on
brltty on
hdapsd on
pppd-dns on
unattended-upgrades on
mintsystem on
hddtemp on
kerneloops on
grub-common on
binfmt-support on
laptop-mode on
failsafe-x off
gdm off
dmesg off
acpid off
plymouth-splash off
network-interface off
hostname off
ecryptfs-utils-restore off
udev off
udevtrigger off
smbd off
console-setup off
procps off
avahi-daemon off
ondemand off
ecryptfs-utils-save off
atd off
ssh off
irqbalance off
cryptdisks-udev off
cron off
hwclock-save off
alsa-mixer-save off
apport off
udevmonitor off
hwclock off
dbus off
plymouth-stop off
anacron off
ufw off
nmbd off
plymouth off
network-interface-security off
plymouth-log off
module-init-tools off
cryptdisks-enable off
rsyslog off
udev-finish off
As u can see, ssh is there in rc*.d

Code: Select all

 locate ssh | grep /etc/
/etc/ssh
/etc/X11/Xsession.d/90x11-common_ssh-agent
/etc/bash_completion.d/ssh
/etc/default/ssh
/etc/init.d/ssh
/etc/network/if-up.d/openssh-server
/etc/pam.d/sshd
/etc/rc1.d/K84ssh
/etc/rc2.d/S16ssh
/etc/rc3.d/S16ssh
/etc/rc4.d/S16ssh
/etc/rc5.d/S16ssh
/etc/ssh/moduli
/etc/ssh/ssh_config
/etc/ssh/ssh_host_dsa_key
/etc/ssh/ssh_host_dsa_key.pub
/etc/ssh/ssh_host_rsa_key
/etc/ssh/ssh_host_rsa_key.pub
/etc/ssh/sshd_config
/etc/ufw/applications.d/openssh-server
Any thoughts?

Thank you
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
DrHu

Re: turn sshd off via rcconf?

Post by DrHu »

I have no idea what the question means..

Using rcconf to control the startup scripts in /etc/rc*, doesn't delete them from the system, it either allows them to run or stops them from running on boot..
-if it actually did delete system startup scripts, you would be up the creek without a paddle.

Another choice for managing startup is BUM: that's an application, that is available in the repositories
kwevej

Re: turn sshd off via rcconf?

Post by kwevej »

DrHu wrote:I have no idea what the question means..
The question is, that I'd like to prevent ssh server from running at startup.
But what is strange, is that, although it runs at startup automatically, it is not visible as enabled in rcconf...

BUM is the same. SSH is not listed as active there.
Locked

Return to “Software & Applications”