# Does something like pty for windows?

**URL:** <https://www.ruby-forum.com/t/does-something-like-pty-for-windows/159624>\
**Category:** Ruby\
**Created:** [February 6, 2009, 1:56pm UTC](https://www.ruby-forum.com/t/does-something-like-pty-for-windows/159624 "2009-02-06T13:56:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jarod\_Z](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e274bd/32.png) [@Jarod\_Z](https://www.ruby-forum.com/u/Jarod_Z)\
**Post date:** [February 6, 2009, 1:56pm UTC](https://www.ruby-forum.com/t/does-something-like-pty-for-windows/159624/1 "2009-02-06T13:56:09Z")

</div>

Hi, all

```
   In my work, I often have to control applications running on

```

Unix servers from Windows through ssh. In order to be more effective,  
I choosed to build some automation interactive script by ruby.

```
   I had tried Net::SSH, but I met some error like "cannot open /

```

dev/tty for read".

```
   So I turned to something like pty, but found the pty module

```

wasn’t supported in ruby on windows.

```
   Is there any workround?

```

Thanks

Jarod Z.
