• Stars
    star
    221
  • Rank 179,773 (Top 4 %)
  • Language
    Python
  • License
    MIT License
  • Created over 10 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Standalone SSH server for Windows

PyRexecd

PyRexecd is a standalone SSH server for Windows.

PyRexecd Screenshot

Features:

  • Standalone Win32 app (not a service) that resides in SysTray.
  • Supports a single user / pubkey auth only.
  • Notifies incoming connections via popup.
  • Sends/Receives the clipboard text via stdin/stdout.
  • PyPI Project page: https://pypi.python.org/pypi/PyRexecd/

Prerequisites:

How to Use:

  1. > pip install pyrexecd
  2. Run PyRexec.pyw.
    It generates a new host key and opens a config directory (AppData\Roaming\PyRexecd).
  3. Put your public key into the config dir.
    > copy your\id_ed25519.pub authorized_keys
  4. Run PyRexec.pyw to start the server.
  5. Log into the machine via 2200/tcp.
    $ ssh -p 2200 windows

Command Line Syntax:

> pyrexecd.exe [-d] [-l logfile] [-s sshdir] [-L addr] [-p port]
               [-c cmdexe] [-u username] [-a authkeys] [-h homedir]
	   ssh_host_key ...
  • -d : Turns on Debug mode (verbose logging).
  • -l logfile : Log file path (default: pyrexecd.log).
  • -s sshdir : Config directory path. (default: AppData\Roaming\PyRexecd)
  • -L a.b.c.d : Specifies the listen address (default: 127.0.0.1).
  • -p port : Specifies the listen port (default: 2200).
  • -c cmdexe : cmd.exe path. (default: cmd.exe)
  • -u username : Username.
  • -a authkeys : authorized_keys path. (default: authorized_keys)
  • -h homedir : Home directory path. (default: %UserProfile%)

Special commands:

Certain SSH command is recognized as special commands:

  • @clipget : Receives the clipboard text from Windows.
    $ ssh windows @clipget > clipboard.txt
  • @clipset : Sends the clipboard text to Windows.
    $ echo foo | ssh windows @clipset
  • @open, @edit, and @print : Windows shell operation. The target pathname should be given from stdin.
    $ echo C:\User\euske\foo.txt | ssh windows @edit

How to Build .exe (requires cx_Freeze):

> pip install cx_Freeze
> python setup_exe.py build

More Repositories

1

pdfminer

Python PDF Parser (Not actively maintained). Check out pdfminer.six.
Python
5,237
star
2

planpathplat

Experimental Path Planning for Platformer
ActionScript
33
star
3

vgaplayer

Open source player for Adobe Flash Media Server streams (RTMP)
ActionScript
28
star
4

nn1

Convolutional Neural Network in C (for educational purposes)
C
19
star
5

introdl

Deep Learning Online Course (in Japanese)
HTML
18
star
6

euskit

Game engine designed for game jams. Suitable for quick prototyping of 2D games.
TypeScript
17
star
7

openssh-jman

Japanese translation of OpenSSH manual pages
Groff
13
star
8

pyntch

Python static analyzer
Python
11
star
9

pymwp

Python MediaWiki parser
Python
8
star
10

how-to-read

Japanese Translation of "How to Read a Paper"
8
star
11

pytcdb

A Python implementation of cdb/tcdb reader and writer.
Python
7
star
12

fgyama

Static source code analyzer that extracts an interprocedural dataflow graph from Java source code.
Java
7
star
13

whebap

Whebap is a Web application nanoframework.
Python
6
star
14

mcproxy

Minecraft Logging Proxy
Python
5
star
15

slides

Various slides.
HTML
5
star
16

python3-toys

Random Programs written in Python 3.
Python
5
star
17

shoveler

Lightweight Japanese speech synthesizer (text-to-speech engine).
Python
4
star
18

clipwatcher

Clipboard Watcher for Win32
C++
4
star
19

tablebot

tablebot by Tijn
JavaScript
3
star
20

wavetool

Audio manupulation/analysis tools.
Python
3
star
21

pushmo-solver

Python script to solve a Pushmo puzzle.
Rust
3
star
22

tenjer

Japanese Braille Translator
Python
3
star
23

cmonitor

Lightweight load/network/memory monitor for X11/Xt.
C
3
star
24

python-netstring

Python implementation of a netstring parser.
Python
3
star
25

nlcrypt

NLCrypt is an attempt to create a cryptography system that doesn't look like a cryptography.
Python
2
star
26

euskecs

Lecture notes for introduction to Computer Science
HTML
2
star
27

codecam

CodeCAM - Capturing programmer's reactions during a coding session.
Python
2
star
28

jscs

JavaScript Cheat Sheet
JavaScript
2
star
29

euske.github.io

Stuff
2
star
30

genwav

Python tool/framework to generate a wave file
Python
1
star
31

ytproxy

A derpy YouTube proxy for local network.
JavaScript
1
star
32

mcscanmap

Minecraft World Activity Monitor via pigmap
Python
1
star
33

hum2midi

Create a MIDI file from a hum.
Python
1
star
34

wellplayed

MiniLD 73 Game
TypeScript
1
star
35

syncdir

Yet another file/directory synchronization tool written in Python.
Python
1
star
36

platedit

Platformer + Text Editor. (LD41 submission)
TypeScript
1
star
37

ld35

The entire game code and assets for my LD35 game.
TypeScript
1
star
38

ascs

Action Script Cheat Sheet
ActionScript
1
star
39

filemgr

Simplistic file uploader
Python
1
star
40

pyone

Python One-liner Helper
Python
1
star
41

ld38

Dot - a game made for LD38
TypeScript
1
star
42

typescript-mode

An attempt to create a lean mode for editing TypeScript in Emacs
Emacs Lisp
1
star
43

github-data-2014

GitHub Data Challenge 2014
1
star
44

diehard

A simplistic CPU designing game
TypeScript
1
star
45

derpyolo

A derpy Python implementation of YOLO object detection (mixture of v1 and v2).
Python
1
star
46

wavtouch

視覚障害者向け教材「音の形をさわってみよう」
Python
1
star
47

sof

Street of Frage
ActionScript
1
star
48

spring-todoApp

Sample Spring Boot App
Kotlin
1
star