[ILUGC] Run a script two levels remote server

  • From: Shrinivasan T <tshrinivasan@xxxxxxxxx>
  • To: ilugc@xxxxxxxxxxxxx
  • Date: Sun, 25 Sep 2016 07:48:19 +0530

I have a server running inside an amazon VPC.

To login inside that, I login to intermediate server first.  from
there logging into that server.


Now, I want to run scripts inside that server from my laptop.

I use ansible to login to remote servers and run tasks.
But those servers are within one level access. I can login to these
from my laptop directly.

How to login to a server inside VPC via intermediate server using
ansible or any other tool?

Thanks.



-- 
Regards,
T.Shrinivasan


My Life with GNU/Linux : http://goinggnu.wordpress.com
Free E-Magazine on Free Open Source Software in Tamil : http://kaniyam.com

Get Free Tamil Ebooks for Android, iOS, Kindle, Computer :
http://FreeTamilEbooks.com
_____________________________________
ILUGC List: //www.freelists.org/list/ilugc
ILUGC Web: http://ilugc.in/

Other related posts: