Cygwin quickstart

From Bitpost wiki
Revision as of 18:54, 25 August 2017 by M (talk | contribs) (Created page with "* Download cygwin * Select the following packages: openssh stow xorg-server * SCRIPT this: # from : http://www.noah.org/ssh/cygwin-sshd.html RUN AS ADMIN: cygwin prompt...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  • Download cygwin
  • Select the following packages:
openssh
stow
xorg-server
  • SCRIPT this:
# from : http://www.noah.org/ssh/cygwin-sshd.html
RUN AS ADMIN: cygwin prompt
> right click taskbar icon, right-click CygWin64 Terminal, "run as admin"

ssh-host-config -y # this will create a new WINDOWS USER cyg_server

# Start the sshd daemon oh yeah!
cygrunsrv -S sshd

# To use pem files or keys, you must strip permissions:
  rclick > Properties > Security > Advanced > Disable inheritance > Copy existing > remove everyone, domain (only mbehrnsm remains)

# where is cygwin stuff?
$ cygpath.exe -w ~
C:\cygwin64\home\mbehrnsm