On Sat, Mar 4, 2017 at 1:28 PM, bruce <badouglas(a)gmail.com> wrote:
On Sat, Mar 4, 2017 at 11:09 AM, Tom Horsley
<horsley1953(a)gmail.com> wrote:
> On Sat, 4 Mar 2017 09:41:31 -0500
> bruce wrote:
>
>> ssh user1@ipaddress command & (assuming that the '&' runs the
local
>> ssh in the background -- it doesn't!)
>
> I have no idea how it could fail to run it in the background,
> unless perhaps it is stopping because it is asking for tty input.
> You can fix that with the -n option and/or -f options.
>
> Or perhaps it is asking for credentials. You can fix that with public
> keys and an ssh-agent so it doesn't have to ask.
-----
Hey Tom,
My bad forgot to mention that my tests have the pub/priv key set so
running the SSH test runs without needing to provide the user passwd.
I'll investigate the -n/-f options though..
thanks
---
hmmm.....
ok...
tried the SSH without the "-t"...
ssh -vvv crawl_user(a)67.205.151.11 "ls /crawl_tmp;" &
this works -- no prob... returns as expected...
this doesn't..
ssh -vvv -t crawl_user(a)67.205.151.11 "ls /crawl_tmp;"
so... what's the use of the "-t" and when is it required/not required!
>
>> _______________________________________________
>> users mailing list -- users(a)lists.fedoraproject.org
>> To unsubscribe send an email to users-leave(a)lists.fedoraproject.org