Linux Administration Cookbook
上QQ阅读APP看书,第一时间看更新

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 ~]$