I don't think you can do that, the shell which is connected to pts1 is not going to read commands from anywhere else. Possibly you could run a small server on pts1 which listens to incoming connections at a particular address (simple script really, but think about security implications!). What are you trying to accomplish? Perhaps something like screen(1) could help, or perhaps you just want the job to run without any tty? Look at background or cron jobs if so.