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/04/06 16:08]
val [Аутентификация с использованием ключей ssh]
сервис_ssh [2026/07/24 08:15] (current)
val [Использование SSH Chroot]
Line 155: Line 155:
        ​ForceCommand internal-sftp        ​ForceCommand internal-sftp
 </​code><​code>​ </​code><​code>​
-# chown root ~user1/+# chown root:www-data ~user1/ 
 + 
 +debian13# chmod 755 ~user1/
  
 # mkdir ~user1/​public_html && chown user1:user1 ~user1/​public_html/​ # mkdir ~user1/​public_html && chown user1:user1 ~user1/​public_html/​
Line 177: Line 179:
  
 ==== SSH вместо VPN (привязка к порту клиента) ==== ==== SSH вместо VPN (привязка к порту клиента) ====
 +
 +==== Local Port Forwarding Tunnel ====
 +
 <​code>​ <​code>​
 windows desktop windows desktop
Line 192: Line 197:
  
 ==== SSH вместо VPN (привязка к порту сервера) ==== ==== SSH вместо VPN (привязка к порту сервера) ====
 +==== Remote Port Forwarding Tunnel ====
  
   * [[Управление сервисами в Linux]]   * [[Управление сервисами в Linux]]
сервис_ssh.1775480898.txt.gz · Last modified: 2026/04/06 16:08 by val