1974 shaares
6 private links
6 private links
1 result
tagged
epitech
Make a bridge through the gate
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -L 1234:opensuse:22 login_x@ssh.epitech.net -N -f
Use it like this:
scp -P 1234 login_x@127.0.0.1:/home/login_x/* ./
or to access any other server inside using opensuse as a gate:
ssh server -o "ProxyCommand ssh -q -p 1234 login_x@127.0.0.1 nc -q0 %h 22"
Direct tunnel to access a ressource inside epitech's network
ssh -4 -At login_x@ssh.epitech.eu -L 4242:localhost:4242 ssh -At -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no opensuse-3 -L 4242:10.10.254.252:4242