[SOLVED] SSH configuring 09 May 2021, 17:52:04 Hello and thank you very much for your help. I have XFCE Artix, installed from base, Its OpenRC Artix XFCE. I just noticed that ssh don't work. Reinstalled ssh.https://wiki.artixlinux.org/Main/OpenRCTried with wiki. Last Edit: 27 May 2021, 10:55:44 by nous
Re: SSH configuring Reply #1 – 09 May 2021, 18:14:45 Quote from: RIA77 – on 09 May 2021, 17:52:04 I just noticed that ssh don't work.what do you imagine under this sentence?
Re: SSH configuring Reply #2 – 09 May 2021, 18:35:48 It'll be helpful if you could output any errors and other info. Not work is not helping us narrowing down the issue, e.g. error showing,if any. 1 Likes
Re: SSH configuring Reply #3 – 09 May 2021, 19:15:03 OpenSSH_8.6p1, OpenSSL 1.1.1k 25 Mar 2021Quote[linux@artix ~]$ ps aux | grep sshdroot 1942 0.0 0.0 3480 228 ? S 19:04 0:00 supervise-daemon sshd --start /usr/bin/sshd -- -f /etc/ssh/sshd_config -Droot 1943 0.0 0.0 8964 5776 ? Ss 19:04 0:00 sshd: /usr/bin/sshd -f /etc/ssh/sshd_config -D [listener] 0 of 10-100 startupslinux 3188 0.0 0.0 6436 2368 pts/0 S+ 19:13 0:00 grep --colour=auto sshd[linux@artix ~]$ netstat -plant | grep :22bash: netstat: нема такве наредбе (no such command, error)[linux@artix ~]$ Quote from: alium – on 09 May 2021, 18:14:45what do you imagine under this sentence? SSH is installed, but not running.
Re: SSH configuring Reply #4 – 09 May 2021, 19:36:35 ssh's service is instaled,, enabled and started ?see pacman -Ss ssh
Re: SSH configuring Reply #5 – 09 May 2021, 19:44:35 Quote from: RIA77 – on 09 May 2021, 19:15:03SSH is installed, but not running.Not true:Quoteroot 1942 0.0 0.0 3480 228 ? S 19:04 0:00 supervise-daemon sshd --start /usr/bin/sshd -- -f /etc/ssh/sshd_config -Droot 1943 0.0 0.0 8964 5776 ? Ss 19:04 0:00 sshd: /usr/bin/sshd -f /etc/ssh/sshd_config -D [listener] 0 of 10-100Quote[linux@artix ~]$ netstat -plant | grep :22bash: netstat: нема такве наредбе (no such command, error)[linux@artix ~]$ Just as the output says here, you don't have netstat command in path, If you haven't installed it, it is a part of the package net-tools.
Re: SSH configuring Reply #6 – 09 May 2021, 19:58:06 Quote from: alium – on 09 May 2021, 19:36:35ssh's service is instaled,, enabled and started ?see pacman -Ss sshYes, it is. Quoteystem/libssh2 1.9.0-3 [инсталиран] A library implementing the SSH2 protocol as defined by Internet Draftssystem/openssh 8.6p1-1 [инсталиран] Premier connectivity tool for remote login with the SSH protocolsystem/openssh-openrc 20210505-1 (openrc-system) [инсталиран] Quotenetstat -plant | grep :22(Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.)tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN - tcp6 0 0 :::22 :::* LISTEN I am confused, there was some error at boot about ssh, but I don't know how to reproduce it. I tried to activate wifi connection at boot, but I am not sure that I managed to.
Re: SSH configuring Reply #7 – 09 May 2021, 20:33:34 rc-update show -v NetworkManager | default agetty | agetty.tty1 | default agetty.tty2 | default agetty.tty3 | default agetty.tty4 | default agetty.tty5 | default agetty.tty6 | default binfmt | boot bootmisc | boot cgroups | sysinit consolefont | dbus | default devfs | sysinit dmesg | sysinit elogind | boot fsck | boot hostname | boot hwclock | boot keymaps | boot killprocs | shutdown kmod-static-nodes | sysinit lightdm | default local | default nonetwork localmount | boot loopback | boot modules | boot mount-ro | shutdown mtab | boot net-online | net.lo | boot netmount | default numlock | opensysusers | boot opentmpfiles-dev | sysinit opentmpfiles-setup | boot osclock | procfs | boot root | boot runsvdir | s6-svscan | save-keymaps | boot save-termencoding | boot savecache | shutdown sshd | boot default sshd.eth0 | sshd.wlan0 | swap | boot swclock | sysctl | boot sysfs | sysinit termencoding | boot udev | sysinit udev-settle | udev-trigger |
Re: SSH configuring Reply #8 – 09 May 2021, 20:34:31 If I enable sshd.wlan0, there was some error, so I disable it.
Re: SSH configuring Reply #9 – 14 May 2021, 15:45:09 openrc defaulterror sshd.wlan0 need service net.wlan0
Re: SSH configuring Reply #10 – 15 May 2021, 12:42:10 Code: [Select]ln -s /etc/init.d/net.lo /etc/init.d/net.wlan0
Re: SSH configuring Reply #11 – 17 May 2021, 00:56:17 Thank you. But there are always errors. Bringing up interface wlan0 * Caching network module dependencies * ERROR: interface wlan0 does not exist * Ensure that you have loaded the correct kernel module for your hardware * ERROR: net.wlan0 failed to start * ERROR: cannot start sshd.wlan0 as net.wlan0 would not start
Re: SSH configuring Reply #12 – 17 May 2021, 01:15:57 I have been using two installations of Artix. Another installation is s6 xfce. How to start sshd at boot with s6 ? Thank you.
Re: SSH configuring Reply #13 – 17 May 2021, 01:38:20 Quote from: RIA77 – on 17 May 2021, 01:15:57I have been using two installations of Artix. Another installation is s6 xfce. How to start sshd at boot with s6 ? Thank you.checkout wiki.artixlinux.org there is how to for inits and other things
Re: SSH configuring Reply #14 – 17 May 2021, 09:53:28 I checked it already. I started ufw at boot, but not ssh.