- Linux Administration Cookbook
- Adam K. Dean
- 43字
- 2025-04-04 15:16:16
How to do it...
From centos1, run the following command:
[vagrant@centos1 ~]$ ssh -J vagrant@192.168.33.11:22 192.168.33.12
You may be prompted to accept keys and also be asked for your password.
You will find yourself on centos3, having jumped through centos2:
[vagrant@centos3 ~]$