File size: 138 Bytes
39e8fd5
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
#!/bin/bash

IP=84.88.51.151
PORT=8000
USER=marti

cmd="ssh -L $PORT:localhost:$PORT -N -o GatewayPorts=yes $USER@$IP"
echo $cmd
eval $cmd