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

Gini
Written by Gini Follow
Backpacker, Foodie, Techie

Latest Stories

HashiCorp Certified Terraform Associate – Learning & Exam Tips

I started using Terraform somewhere in 2018, but very limited usage as I thought it is just another tool for provisioning infrastructure and other services – or a variant of Vagrant; ...

In terraform, Sep 18, 2020
Deploy Minikube Using Vagrant and Ansible on VirtualBox – Infrastructure as Code

Minikube is a tool to run a kubernetes cluster locally, that means on your laptop or inside a virtual machine. Minikube will run a single node kubernetes cluster on your machine with ...

In kubernetes, Aug 11, 2020
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

Featured