linux,

SSH Hacks and Tips

Gineesh Gineesh Follow · 1 min read
SSH Hacks and Tips
Share this

SSH Login to Remote Server over Jumphost

ssh -J user@JUMP_HOST user@TARGET_HOST

Copy: scp -o 'ProxyJump user@JUMP_HOST' FILE_OR_DIR user@TARGET_HOST:/PATH_TO_DIR

NFS over SSH Tunnel

Ref: Gist

mkdir /mnt/nfs-share

#-- Start SSH tunnel (local-to-remote port)
ssh -fNv -L 3049:localhost:2049 user@JUMP_HOST

#-- Mount the folder
mount -t nfs -o port=3049 localhost:/PATH_TO_DIR /mnt/MOUNT_PATH

Install python3 offline - Centos

Gineesh
Written by Gineesh Follow
Backpacker, Foodie, Techie

Latest Stories

Featured