Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
becki:linux:cygwin [2011-02-10 08:45] becki |
becki:linux:cygwin [2016-02-15 07:45] (aktuell) becki |
||
---|---|---|---|
Zeile 5: | Zeile 5: | ||
http://ftp.inf.tu-dresden.de/software/windows/cygwin32/ and http://ftp.gwdg.de/pub/linux/sources.redhat.com/cygwin/ are good mirrors for Germany. | http://ftp.inf.tu-dresden.de/software/windows/cygwin32/ and http://ftp.gwdg.de/pub/linux/sources.redhat.com/cygwin/ are good mirrors for Germany. | ||
+ | |||
+ | ===== Run sshd == | ||
+ | |||
+ | Install OpenSSH with the Cygwin installer. | ||
+ | |||
+ | Start cygwin bash shell //with right mouse click// as an administrator. (It is not enough to be logged into Windows as an administrator) | ||
+ | |||
+ | Run ''ssh-host-config'', answer yes to all questions, and when prompted to "Enter the value of CYGWIN for the daemon", enter 'ntsec', which enables communication with the NT authentication database. [[http://cygwin.wikia.com/wiki/Sshd|Source]] | ||
+ | |||
+ | Among others this creates new non-privileged account "sshd" and a new privileged accound "cyg_server" | ||
+ | http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-nopasswd1 might be useful to understand what is going on | ||
+ | |||
+ | After that, sshd can be started with ''cygrunsrv -S sshd'' and you may log in from remote via ssh with normal windows username and password. | ||
===== Changing the Home Directory == | ===== Changing the Home Directory == | ||
Zeile 24: | Zeile 37: | ||
===== PHP Integration == | ===== PHP Integration == | ||
+ | |||
+ | Probably obsolete, PHP is now part of Cygwin --- 2016-02-12 11:57 | ||
This section is about using PHP from the cygwin command line, not for dynamic web pages. Because PHP is not included in Cygwin, the [[http://de.php.net/downloads.php|windows version of PHP]] has to be installed separately. In order to call a PHP script from the Cygwin command line, you need some glue: | This section is about using PHP from the cygwin command line, not for dynamic web pages. Because PHP is not included in Cygwin, the [[http://de.php.net/downloads.php|windows version of PHP]] has to be installed separately. In order to call a PHP script from the Cygwin command line, you need some glue: |