@@ -21,30 +21,113 @@ Add to `devcontainer.json`:
2121
22222 . GitHub CLI: see https://github.com/cli/cli/blob/trunk/docs/install_linux.md#debian-ubuntu-linux-raspberry-pi-os-apt
2323
24- 3 . Openssh server: ` sudo apt install openssh-server && service ssh start `
24+ 3 . OpenSSH server: ` sudo apt install openssh-server && service ssh start `
2525
2626### Alpine Linux
2727
28281 . GitHub CLI: see https://github.com/cli/cli/blob/trunk/docs/install_linux.md#alpine-linux
2929
3030### Arch Linux
3131
32- 1 . Sudo: ` echo "y" | pacman -S sudo`
32+ 1 . Sudo: ` pacman -S sudo `
3333
34342 . GitHub CLI: see https://github.com/cli/cli/blob/trunk/docs/install_linux.md#arch-linux
3535
36- 3 . SSH group: ` sudo groupadd -f ssh `
36+ 3 . SSH user group: ` sudo groupadd ssh `
3737
3838### CentOS
3939
40401 . Sudo
4141
4242``` shell
4343dnf --disablerepo ' *' --enablerepo=extras swap -y centos-linux-repos centos-stream-repos
44- dnf -y distro-sync
45- dnf install -y sudo
44+ dnf distro-sync
45+ dnf install sudo
4646```
4747
48482 . GitHub CLI: see https://github.com/cli/cli/blob/trunk/docs/install_linux.md#fedora-centos-red-hat-enterprise-linux-dnf
4949
50- 3 . SSH group: ` groupadd ssh `
50+ 3 . SSH user group: ` sudo groupadd ssh `
51+
52+ ### Fedora
53+
54+ 1 . GitHub CLI: https://github.com/cli/cli/blob/trunk/docs/install_linux.md#fedora-centos-red-hat-enterprise-linux-dnf
55+
56+ 2 . OpenSSH server & ` ssh ` user group
57+
58+ ``` shell
59+ sudo dnf install openssh-server
60+ sudo systemctl enable sshd.service
61+ sudo groupadd ssh
62+ sudo usermod -a -G ssh_keys,sshd,ssh root
63+ ```
64+
65+ ### Kali Linux
66+
67+ 1 . Sudo ` apt-get install sudo `
68+
69+ 2 . GitHub CLI:
70+
71+ ``` shell
72+ pt-get install curl
73+ curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
74+ echo " deb [arch=$( dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
75+ sudo apt-get update
76+ sudo apt-get install gh
77+ ```
78+
79+ 3 . OpenSSH server & ` ssh ` user group
80+
81+ ``` shell
82+ sudo apt-get install openssh-server
83+ sudo groupadd ssh
84+ sudo groupadd sshd
85+ sudo usermod -a -G ssh,sshd root
86+ ```
87+
88+ ### Mint
89+
90+ 1 . GitHub CLI:
91+
92+ ``` shell
93+ curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
94+ echo " deb [arch=$( dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
95+ sudo apt update
96+ sudo apt install gh
97+ ```
98+
99+ 2 . ` ssh ` user group
100+
101+ ``` shell
102+ sudo groupadd ssh
103+ sudo usermod -a -G ssh root
104+ ```
105+
106+ ### OpenSUSE
107+
108+ 1 . Sudo: ` zypper in sudo `
109+
110+ 2 . GitHub CLI: https://github.com/cli/cli/blob/trunk/docs/install_linux.md#opensusesuse-linux-zypper
111+
112+ 3 . ` ssh ` user group:
113+
114+ ```
115+ sudo groupadd ssh
116+ sudo groupadd sshd
117+ sudo usermod -a -G ssh,sshd root
118+ ```
119+
120+ ### Red Hat Enterprise Linux
121+
122+ 1 . Sudo: ` dnf install sudo `
123+
124+ 2 . GitHub CLI: https://github.com/cli/cli/blob/trunk/docs/install_linux.md#fedora-centos-red-hat-enterprise-linux-dnf
125+
126+ 3 . OpenSSH server & ` ssh ` user group
127+
128+ ``` shell
129+ sudo dnf install openssh-server
130+ sudo systemctl enable sshd.service
131+ sudo groupadd ssh
132+ sudo usermod -a -G ssh_keys,sshd,ssh root
133+ ```
0 commit comments