Re: Running local SSH as background process - possible??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Mar 4, 2017 at 1:28 PM, bruce <badouglas@xxxxxxxxx> wrote:
> On Sat, Mar 4, 2017 at 11:09 AM, Tom Horsley <horsley1953@xxxxxxxxx> 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@67.205.151.11 "ls /crawl_tmp;" &

this works -- no prob... returns as expected...

this doesn't..

ssh -vvv  -t  crawl_user@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@xxxxxxxxxxxxxxxxxxxxxxx
>> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux