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 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

Written by Gini Follow
Backpacker, Foodie, Techie

Latest Stories

How to Pass CKA & CKAD Exams ? 10 Tips for Kubernetes Exams

Here see the best tips for Kubernetes Exams - Certified Kubernetes Administrator (CKA) & Certified Kubernetes Application Developer (CKAD).

In kubernetes, Jul 08, 2020
CKA & CKAD - Kubernetes Exam Tips, Learning Path and Certification

Since kubernetes is getting wide acceptance, Kubernetes Certification is the most trending one in IT circle now. I have completed both recently (March – April 2020) and I started gett...

In kubernetes, May 03, 2020
Start Your OpenShift Journey with these Free Red Hat Training Programs

Red Hat OpenShift Container Platform is one of the best kubernetes platform for enterprises. As we know kubernetes and OpenShift are multi-component stack and not easy to learn withou...

In openshift, Mar 09, 2020
Installing oVirt 4 with Self-Hosted Engine on Enterprise Linux

oVirt is one of the best free and open-source virtualization solution with enterprise level features. Installing oVirt cluster is simple and straight forward and you can refer the ins...

In oVirt, Mar 05, 2020