Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>There has to be something on the other side for you to talk to. This limits you to either setting up a "server" on each machine, installing a real server (i.e. sshd), building a "server" yourself and installing it, or using a built in and active feature of the OS.</p> <p>Based upon this, what kind of system do you want to set up on these machines? What does it need to do? Just read the contents of a prespecified file list? Will that list change?</p> <ul> <li>One solution is to turn on telnet, and use paramiko or twisted to talk across it. This isn't very secure of course</li> <li>Next up, set up a samba share, and access the folder remotely. This is also insecure, though less so than telnet</li> <li>You could find a ssh daemon port and run that, if you are so inclined</li> <li>Psexec from sysinternals might work</li> <li>Use twisted to build a server app with the features you need</li> <li>Use ncat to listen on a port and spawn a cmd prompt</li> </ul> <p>Be aware that most of the solutions for accessing windows remotely are... poor. The best solution is probably to roll your own, but that is hard work and you will probably make mistakes.</p> <p>Also, Windows 7 is <strong>not</strong> exactly multi-user friendly. Individual processes can run as separate users, but the OS does not support having multiple users logged in at the same time. Someone is going to be the "user" and everyone else is just a process with a different credential set. </p> <p>This is more an artificial limitation on M$'s part than anything technical. To see this in action, try to log in with RDP while a user is logged in locally. Fun times.</p> <p>Per your edit, the easiest thing to do is just set up a samba share on the box.</p> <p>After this share is set up:</p> <pre><code>with open(r'\\myCompNameOrIP\C\windows\logs\logfile.txt','rb') as logfile: loglines = logfile.readlines() </code></pre> <p>Or you can use the <a href="http://www.dabeaz.com/generators/gencat.py" rel="nofollow">gencat</a> sample found <a href="http://www.dabeaz.com/generators/" rel="nofollow">here</a>. Just give it <code>r'\\myCompNameOrIP\C\windows\logs\*.txt'</code> as the search path and watch the magic.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload