Cyber Deals - Get up to 65% off on CKA, CKAD, CKS, KCNA, KCSA exams and courses!

SSH Hacks and Tips

SSH Hacks and Tips

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

Disclaimer: Views expressed in articles are those of the respective authors and do not necessarily reflect the views of their employers or this site. While we aim for accuracy, please verify information before relying on it, and let us know if you spot an error.
Share:

Related Posts

Linux Logical Volume Manager (LVM) Cheat Sheet

Linux Logical Volume Manager (LVM) Cheat Sheet

$ lvcreate -n NAME -l 100%FREE vg0 # Create a logical volume with full free size of vg0

Ansible Automation Platform - Disaster Recovery

Ansible Automation Platform - Disaster Recovery

These are official references to implement Disaster Recovery (DR) designs for Ansible Automation Platform.

Ansible Labs

Ansible Labs

Ansible Automation Platform Enable RHEL and AAP Subscriptions Red Hat Container Registry Authentication AAP Download Options Extract the AAP …

Kubernetes - Tools, Guides, References

Kubernetes - Tools, Guides, References

These are collection of reference documents and blog posts from different experts around.

Ansible for Cisco ACI

Ansible for Cisco ACI

Ansible for Cisco ACI Automation References ACI Ansible community Ansible Modules for Cisco ACI Ansible Cisco ACI Guide Completed Configurations in …

Ansible Automation Platform - Docs & References

Ansible Automation Platform - Docs & References

Ansible Automation Platform Enable RHEL and AAP Subscriptions Red Hat Container Registry Authentication AAP Download Options Extract the AAP …