User Tools

Site Tools


cygwin_ssh_server_for_windows

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
cygwin_ssh_server_for_windows [2008/10/04 16:49] tkbletsccygwin_ssh_server_for_windows [2010/10/25 19:34] tkbletsc
Line 33: Line 33:
   ;c:\Program Files\cygwin\bin   ;c:\Program Files\cygwin\bin
  
-Open a cygwin shell.+Open a cygwin shell.  **If running something with UAC, run the cygwin shell as administrator (right click, run as administrator).**
  
 <code> <code>
-$ chmod +r  /etc/passwd +$ chmod a+r /etc/passwd /etc/group 
-$ chmod +r  /etc/group +$ chmod 777 /var
-$ chmod  777  /var+
 $ ssh-host-config  -y $ ssh-host-config  -y
 </code> </code>
Line 54: Line 53:
 <code> <code>
 $ chown system /etc/ssh* $ chown system /etc/ssh*
-$ chown system /var/empty  or chown sshd_server /var/empty+$ chown system /var/empty
 </code> </code>
 +
 +As an aside, if you want your drive letters to be available as ''/c'' instead of ''/cygdrive/c'', edit /etc/fstab and edit the commented-out cygdrive line so it reads:
 +<code>none / cygdrive binary,posix=0,user 0 0</code>
 +Then re-read the file with:
 +<code>$ mount -a</code>
 + 
  
 ===== User setup ===== ===== User setup =====
cygwin_ssh_server_for_windows.txt · Last modified: 2012/03/29 19:13 by tkbletsc

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki