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 [2024/12/28 11:52]
val [Настройка ssh сервера]
сервис_ssh [2025/01/20 14:47] (current)
val [SSH вместо VPN (привязка к порту сервера)]
Line 51: Line 51:
 #​KexAlgorithms +diffie-hellman-group1-sha1,​diffie-hellman-group-exchange-sha1 #​KexAlgorithms +diffie-hellman-group1-sha1,​diffie-hellman-group-exchange-sha1
 #​HostkeyAlgorithms +ssh-dss,​ssh-rsa #​HostkeyAlgorithms +ssh-dss,​ssh-rsa
 +#​PubkeyAcceptedKeyTypes +ssh-dss,​ssh-rsa
 </​code>​ </​code>​
  
Line 200: Line 201:
 # sysctl net.ipv4.ip_local_port_range # sysctl net.ipv4.ip_local_port_range
  
-lan# ssh -N -R 61022:​localhost:​22 -o ServerAliveInterval=60 student@server.corpX.un+lan# ssh -N -R 61022:​localhost:​22 -o ServerAliveInterval=5 -o ServerAliveCountMax=1 -o ExitOnForwardFailure=yes ​student@server.corpX.un
  
 lan# ssh -N -R 61389:​192.168.100+X.1NN:​3389 student@server.corpX.un lan# ssh -N -R 61389:​192.168.100+X.1NN:​3389 student@server.corpX.un
сервис_ssh.1735375932.txt.gz · Last modified: 2024/12/28 11:52 by val