background disable input

Pramod Immaneni pramod at
Thu Mar 21 11:00:12 EST 2002

   ssh has a -f option by which it puts itself into background after
taking login and password. Apart from that it stops reading from stdin
(or reads from /dev/null). Is there any way one can keep it connected to
stdin or are there any plans for that to be added. The problem is I have
another process which is connected to ssh via pipes. It pumps data to
ssh and reads data from ssh. The other process is pppd and I do a vpn
with these two. I wrote a small program which accomplishes this task.
Currently, without -f it all works but I cant use the control terminal
any more.


More information about the openssh-unix-dev mailing list