User Tools

Site Tools


сервис_ssh

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
сервис_ssh [2026/07/24 08:15]
val [Использование SSH Chroot]
сервис_ssh [2026/09/17 14:53] (current)
val [Настройка ssh сервера]
Line 12: Line 12:
 ==== Windows ==== ==== Windows ====
  
 +=== Windows Power Shell ===
 +<​code>​
 +$ export NO_COLOR=1
 +</​code>​
 === PuTTY === === PuTTY ===
   * [[http://​www.putty.org/​|PuTTY]]   * [[http://​www.putty.org/​|PuTTY]]
Line 46: Line 50:
 ===== Настройка ssh сервера ===== ===== Настройка ssh сервера =====
 <​code>​ <​code>​
 +gate# less /​etc/​ssh/​sshd_config
 +</​code><​code>​
 +...
 +#​PermitRootLogin prohibit-password
 +...
 +Include /​etc/​ssh/​sshd_config.d/​*.conf
 +...
 +</​code><​code>​
 gate# cat /​etc/​ssh/​sshd_config.d/​my.conf gate# cat /​etc/​ssh/​sshd_config.d/​my.conf
 </​code><​code>​ </​code><​code>​
Line 95: Line 107:
 #        Port 2222 #        Port 2222
 ##        User root ##        User root
 +
 +#Host gate
 +#    HostName 192.168.X.1
 +#    User root
 +#    IdentityFile ~/​.ssh/​id_rsa
  
 #Host switch* 192.168.X.5* #Host switch* 192.168.X.5*
сервис_ssh.1784870132.txt.gz · Last modified: 2026/07/24 08:15 by val