Joseph Brown
01/19/2023, 10:08 PMssh -i $SSH_KEY -L 8000:localhost:8000 -N -f ec2-user@$INSTANCE_IP
which port is local and which is remote? do they have to be equal? e.g. can I run port 8000 on EC2 but map it to port 8888 locally?Joseph Brown
01/19/2023, 10:23 PMssh -i $SSH_KEY -L 8888:localhost:8000 -N -f ec2-user@$INSTANCE_IP