Remote ssh into JV for admins

Login to the server

gcloud compute ssh --zone "europe-west12-b" "jv-rev-ssh" --project "savvy-parser-295910"

Kill everyone hogging port 1336 which are people that you have been serving

sudo fuser -k 1336/tcp

Change the password of the tunneluser

sudo passwd -u tunneluser       # Unlock the account
sudo passwd tunneluser          # Set a new password

Ask the user to login into his jervision using a terminal, command line etc.

ssh jetvision@youl-local-jv-address

Tell them to type

ssh -v -N -R '*:1336:localhost:22' -p 1337 [email protected]

and give them the password Ask them to sit tight now

Got to the server and type

ssh -p 1336 jetvision@localhost

After you are done close the tunnel user down

sudo passwd -l tunneluser

Last updated