linux,

SSH Hacks and Tips

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

SSH Login to Remote Server over Jumphost

ssh -J [email protected]_HOST [email protected]_HOST

Copy: scp -o 'ProxyJump [email protected]_HOST' FILE_OR_DIR [email protected]_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 [email protected]_HOST

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

Install python3 offline - Centos

Gini
Written by Gini Follow
Backpacker, Foodie, Techie

Latest Stories

Featured