• About My website
  • Search

Amit Agarwal Linux Blog

ssh trick – ssh to remote host with bastion host

2019-09-16 1 min read Bash Learning Linux

Lot of times, you have to ssh to a server with bastion host. If you dont know what is bastion host then see this:

bastion host

 

Now, in such cases, either you add an entry in “~/.ssh/config” to route the ssh through the bastion host or do ssh to bastion host and then ssh from there to the actual host. But wait, there is always a better way:

Continue reading
Bastion OpenSSH Security SSH
Latest posts
  • Building and Breaking a Vulnerable Active Directory Lab: Full Exploitation Walkthrough
  • Run a Local LLM API Server with vLLM (OpenAI-Compatible, Fast, and Simple)
  • Fixing NXC Not Showing Passwords During Brute Force Password Sprays
  • Golden Ticket Attack: Exploiting Kerberos from Linux
  • Color-Coded URL Status Checker in Bash: Enhanced Script for Fast Web Health Monitoring
  • Mobile_App_Mindmap
  • Check Price and Token Limits in ZapGPT with OpenAI Provider
Categories
  • Linux (529)
  • Fedora (343)
  • Bash (216)
  • Uncategorized (191)
  • Learning (156)
  • Photo (76)
  • Vim Tips (37)
Social media
© 2018 - 2025 by Amit Agarwal - rss
Bilberry Hugo Theme