Re: How does one get ssh to not wait?
Lo, on Sunday, June 13, Dan Jacobson did write:
> How does one get ssh to not wait?
>
> ssh somewhere <<!
> touch file
> sleep 333 && rm file&
> !
> echo I want control to arrive at this line without waiting 333!
>
> I tried (...)&, disown, etc.
> Must I resort to batch(1)?
> Perhaps one could use nohup, but then I want to clean up nohup.out...
Have you tried the -f flag to ssh? That backgrounds the ssh process
after querying you for passwords or passphrases, which seems to be what
you want.
Richard
Reply to: