Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] SSH configuring (Read 2916 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Re: SSH configuring

Reply #15
Unable to open  /var/log
 read only file system (appears at boot).

 s6-rc-bundle-update add default ssh          
s6-rc-bundle: fatal: identifier ssh does not exist in database /run/s6-rc/compiled
Error when trying to add  ssh!

 SSH is installed.

Re: SSH configuring

Reply #16
Replace ssh with sshd

Re: SSH configuring

Reply #17
s6-rc-bundle-update add default sshd
s6-rc-bundle: fatal: identifier sshd does not exist in database /run/s6-rc/compiled
Error when trying to add  sshd!

Re: SSH configuring

Reply #18
Code: [Select]
# pacman -Sy
# pacman -S openssh openssh-s6
# s6-rc-bundle-update add default sshd
# s6-rc -u change sshd

Read those:
https://wiki.archlinux.org/title/pacman
https://wiki.artixlinux.org/Main/S6
Quote
Installation of services

s6 service packages are named package_name-s6 and, when installed, will be available in /etc/s6/sv.

Edit: Again, it is not true that SSH is not running on your system if you have this (from this message):
Quote
[linux@artix ~]$ ps aux | grep sshd
root      1942  0.0  0.0   3480   228 ?        S    19:04   0:00 supervise-daemon sshd --start /usr/bin/sshd -- -f /etc/ssh/sshd_config -D
root      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 startups

linux     3188  0.0  0.0   6436  2368 pts/0    S+   19:13   0:00 grep --colour=auto sshd
[linux@artix ~]$ netstat -plant | grep :22
bash: netstat: нема такве наредбе (no such command, error)
[linux@artix ~]$
So repeated statements that SSH doesn't work or is refusing to start on your system can't be seen as anything else than spamming/trolling the forum.

Re: SSH configuring

Reply #19
Thank you.
 But I am confused about following message
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 #20
That is a separate issue than SSH not running (which turned out to  be running!) and should normally be in a separate topic. But whatever.

*   Ensure that you have loaded the correct kernel module for your hardware

This means exactly what it says in English: you probably don't have the correct kernel module loaded for your Wireless card or Wireless device. Many WiFi devices come with proprietary drivers which don't support GNU/Linux, and some only work after manually compiling and installing their drivers. If you're lucky, your card will have the driver in linux-firmware package. If not, tough luck. That's why it is much easier to use wired, cable Ethernet for GNU/Linux.

Wifi error

Reply #21
Hello to all and thank you for your help.
 

 But I am confused about following message
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

 Wifi drivers working as it should be, i have no problems with connection.
Is this something that is important ?


Re: SSH configuring

Reply #23
This means exactly what it says in English: you probably don't have the correct kernel module loaded for your Wireless card or Wireless device. Many WiFi devices come with proprietary drivers which don't support GNU/Linux, and some only work after manually compiling and installing their drivers. If you're lucky, your card will have the driver in linux-firmware package. If not, tough luck. That's why it is much easier to use wired, cable Ethernet for GNU/Linux.
Мy wifi is working, should I recompile it ?
 What is the meaning of this error ?

Re: SSH configuring

Reply #24
sshd is the OpenSSH server daemon, configured with /etc/ssh/sshd_config. Are you sure, that you really need run SSH SERVER on your computer? The client is enough for most normal users... (they normaly install it via pacman-openssh-openrc/runit/s6 )

sorry, but you do not seem to me like advanced user or admin... that, why i ask...

Re: SSH configuring

Reply #25
Thank you for your interest.
 I want to build secure desktop, not as server, but as much as possible.
 

Re: SSH configuring

Reply #26
Installed artix hardened kernel - solved.
 Another problem solved - system was disconnected during stand-by, and network manager did not run after resume.

On hardened kernel, there was disconnection, but Artix auto-connects on resume.