Admin/Windows/Cygwin/README
changeset 80145 0eff7d113549
parent 79782 8bde94328b05
equal deleted inserted replaced
80144:cfe18c31725c 80145:0eff7d113549
    69   - run Cygwin terminal as Administrator
    69   - run Cygwin terminal as Administrator
    70 
    70 
    71   - run ssh-host-config
    71   - run ssh-host-config
    72 ```
    72 ```
    73     StrictMode: yes
    73     StrictMode: yes
    74     privilege separation: yes
       
    75     new local account 'sshd': yes
       
    76     sshd as a service: yes
       
    77     different name (than cyg_server): no
       
    78     new privileged account cyg_server: yes
       
    79 ```
    74 ```
    80 
    75 
    81   - user setup
    76   - user setup
    82 ```
    77 ```
    83     mkpasswd -l > /etc/passwd
    78     mkpasswd -l > /etc/passwd
    84     mkgroup -l > /etc/group
    79     mkgroup -l > /etc/group
    85 
    80 
    86     passwd -R USER
    81     passwd -R USER
    87 ```
    82 ```
       
    83 
       
    84   - firewall
       
    85 ```
       
    86     netsh advfirewall firewall add rule name="Open SSH Port 22" dir=in action=allow protocol=TCP localport=22 remoteip=any
       
    87 ```