cygwin_ssh_server_for_windows
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| cygwin_ssh_server_for_windows [2008/10/04 16:46] – created tkbletsc | cygwin_ssh_server_for_windows [2012/03/29 19:13] (current) – tkbletsc | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | * ** This has been merged into [[cygwin|the cygwin page]]. ** * | ||
| + | |||
| + | |||
| A shorter version of [[http:// | A shorter version of [[http:// | ||
| Line 33: | Line 36: | ||
| ;c:\Program Files\cygwin\bin | ;c:\Program Files\cygwin\bin | ||
| - | Open a cygwin shell. | + | Open a cygwin shell. |
| < | < | ||
| - | $ chmod +r /etc/passwd | + | $ chmod a+r /etc/passwd / |
| - | $ chmod +r | + | $ chmod 777 /var |
| - | $ chmod 777 /var | + | |
| $ ssh-host-config | $ ssh-host-config | ||
| </ | </ | ||
| Line 54: | Line 56: | ||
| < | < | ||
| $ chown system /etc/ssh* | $ chown system /etc/ssh* | ||
| - | $ chown system | + | $ chown system /var/empty |
| </ | </ | ||
| + | |||
| + | As an aside, if you want your drive letters to be available as ''/ | ||
| + | < | ||
| + | Then re-read the file with: | ||
| + | < | ||
| + | |||
| + | ===== Firewall ===== | ||
| + | If using Windows firewall, add a program rule that allows all connections to ''< | ||
| ===== User setup ===== | ===== User setup ===== | ||
| - | Make sure every Windows user has a password set. Then: | + | // |
| + | |||
| + | Make sure every Windows user has a password set. Then, in a bash shell: | ||
| < | < | ||
| - | $ mkpasswd | + | $ mkpasswd -cl > / |
| - | $ mkgroup | + | $ mkgroup --local > /etc/group |
| </ | </ | ||
cygwin_ssh_server_for_windows.1223163982.txt.gz · Last modified: by tkbletsc
