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
Next revision Both sides next revision
сервис_ssh [2020/06/26 20:21]
val [SSH вместо VPN (привязка к порту сервера)]
сервис_ssh [2020/06/26 20:22]
val [SSH вместо VPN (привязка к порту сервера)]
Line 149: Line 149:
  
 ==== SSH вместо VPN (привязка к порту сервера) ==== ==== SSH вместо VPN (привязка к порту сервера) ====
 +
 +  * [[Управление сервисами в Linux]]
 +
 <​code>​ <​code>​
 server# cat /​etc/​ssh/​sshd_config server# cat /​etc/​ssh/​sshd_config
Line 157: Line 160:
 </​code><​code>​ </​code><​code>​
 lan# ssh -N -R 2222:​localhost:​22 user1@server.corpX.un lan# ssh -N -R 2222:​localhost:​22 user1@server.corpX.un
- 
  
 lan# ssh -N -R 3101:​192.168.100+X.101:​3389 user1@server.corpX.un lan# ssh -N -R 3101:​192.168.100+X.101:​3389 user1@server.corpX.un
сервис_ssh.txt · Last modified: 2024/05/03 08:47 by val