Cygwin quickstart: Difference between revisions

From Bitpost wiki
No edit summary
No edit summary
Line 2: Line 2:


* Download cygwin
* Download cygwin
* Download and install Git for Windows (or install as part of cygwin?  i'll try that next time)
** Put the shortcut in the task bar; right-click > properties > advanced > Run as Administrator (so we can run services)
* Download and install npm for Windows (seems to integrate)
* Download and install npm for Windows (seems to integrate)
* Select the following packages:
* Select the following packages:
Line 8: Line 8:
  stow
  stow
  xorg-server
  xorg-server
  TODO: git
  git
* SCRIPT this:
* SCRIPT this:
  # from : http://www.noah.org/ssh/cygwin-sshd.html
  # from : http://www.noah.org/ssh/cygwin-sshd.html

Revision as of 19:39, 25 August 2017

Cygwin is ESSENTIAL to set up sshd so you can use Windows as a jump box. But it won't ever have i3. So don't spend too much time there!

  • Download cygwin
    • Put the shortcut in the task bar; right-click > properties > advanced > Run as Administrator (so we can run services)
  • Download and install npm for Windows (seems to integrate)
  • Select the following packages:
openssh
stow
xorg-server
git
  • 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
                                   i copied into here, need to make it official later
                                       C:\cygwin64\home\mbehrnsm\.ssh\id_rsa
                                       C:\cygwin64\home\mbehrnsm\.ssh\id_rsa.pub
                                       C:\cygwin64\home\mbehrnsm\.ssh\known_hosts
                                       C:\cygwin64\home\mbehrnsm\.ssh\authorized_keys
                                       C:\cygwin64\home\mbehrnsm\.ssh\config