Author Topic: Remote build from OSX  (Read 3274 times)

tim_k

  • Senior Community Member
  • Posts: 115
  • Hero Points: 7
Re: Remote build from OSX
« Reply #15 on: March 12, 2018, 01:49:56 pm »
Thanks for the info rowbearto.

Unfortunately, I'm in a pretty security paranoid environment and I'm not sure I can go with a key pair login. I'll have to investigate. The ideal scenario for me is that I log into a ssh session once in the SE build terminal, and everything executes there. I've tried just logging in and the password prompt confuses things and I get disconnected for too many authentication failures. I never even see the password prompt.

-Tim

rowbearto

  • Senior Community Member
  • Posts: 1078
  • Hero Points: 63
Re: Remote build from OSX
« Reply #16 on: March 12, 2018, 01:59:06 pm »
I'd be surprised if you can't use key pair, but if you really can't, try running ssh inside of "script" in the SE terminal so that it can be provided a pty:

script -eqfc "ssh user@host" /dev/null

I think ssh needs to think it is running in a terminal in order to provide password prompt, running inside script will make ssh think that.