The jump box restricted only root can ssh to another system with ssh key pairs, common user use sudo ssh do the same thing.
On Wednesday, February 4, 2015 at 1:32:17 AM UTC+8, Chris Short wrote: > > That is going to trigger ssh as root. Is ssh usage restricted to root only > on the jumpbox or are you just trying to ssh to another system as the root > user (in which case ssh -l root 1.1.1.1 would work)? > > On Tuesday, February 3, 2015 at 5:26:31 AM UTC-5, Ethan Zhan wrote: >> >> Hi, >> >> I'm in trouble with how to use ansible on jumpbox, here is the >> issue. >> >> from jumpbox I have to use command *sudo ssh box_ip* to get >> login with root permission. >> >> How can I let ansible know to use sudo ssh instead of ssh command >> to execute ? >> >> Thanks >> Ethan >> > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/3af6d419-3413-482b-9abf-db28a6b10df4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
