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:22]
val [SSH вместо VPN (привязка к порту сервера)]
сервис_ssh [2020/06/26 20:37]
val [SSH вместо VPN (привязка к порту клиента)]
Line 136: Line 136:
 ==== SSH вместо VPN (привязка к порту клиента) ==== ==== SSH вместо VPN (привязка к порту клиента) ====
 <​code>​ <​code>​
 +windows desktop
 Putty Putty
 Session Session
Line 143: Line 144:
   Destination 192.168.100+X.101:​3389   Destination 192.168.100+X.101:​3389
  
-linuxssh -L 3101:​192.168.100+X.101:​3389 192.168.X.10+linux desktop$ ​ssh -L 3101:​192.168.100+X.101:​3389 192.168.X.10
  
 Remote Desktop Connection->​127.0.0.1:​3101 Remote Desktop Connection->​127.0.0.1:​3101
Line 160: Line 161:
 </​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/04/08 15:58 by val