SSH: Difference between revisions
From DWIKI
m (New page: =Tricks= ==Ssh tunnel== ssh -L localport:remotelanhost:remotelanport remotehost where '''remotelanhost''' is the host you want to connect to on the remote side and '''localport''' the p...) |
mNo edit summary |
||
Line 5: | Line 5: | ||
where '''remotelanhost''' is the host you want to connect to on the remote side and '''localport''' the port you connect to on your side. | where '''remotelanhost''' is the host you want to connect to on the remote side and '''localport''' the port you connect to on your side. | ||
=FAQ= | |||
==Ssh connecting is slow== | |||
Usually some DNS thing, try | |||
UseDNS no | |||
in sshd_config |
Latest revision as of 09:59, 27 December 2022
Tricks
Ssh tunnel
ssh -L localport:remotelanhost:remotelanport remotehost
where remotelanhost is the host you want to connect to on the remote side and localport the port you connect to on your side.
FAQ
Ssh connecting is slow
Usually some DNS thing, try
UseDNS no
in sshd_config