Hot answers tagged cygwin
From cygwin prompt, do: $ wget http://peak.telecommunity.com/dist/ez_setup.py $ python ez_setup.py This will install easy_install on your cygwin. Easy as py.
You can create a named pipe (fifo) using mkfifo. Writes to this type of special file will block until a process reads from it. $ mkfifo blocker $ echo hello > blocker # "hangs" In another session: $ cat blocker hello # the `echo` above unblocks after this
So far as I know, Putty is the best open-source non-commercial SSH client for Windows. For tabbed sessions there is http://puttycm.free.fr/cms/ You could also look at commercial programs such as Reflection for Unix and SecureCRT. (Edit:) They both offer tabbed sessions. Another option might be Putty + screen (man screen)? (Edit:) Summary of programs ...
The most obvious advantage: As long as no text output (or a legacy command) is involved in a pipeline, you are not moving text through the pipes, but instances of .NET framework objects, with all their properties and methods. This allows for a more expressive and less ambiguous pipeline handling that also is completely uninfluenced by locale and language ...
List all installed packages cygcheck --check-setup --dump-only without --dump-only the command will take few minutes to complete because it will TEST all packages. You should see an OK for each package if everything is fine ;) List files belonging to a package For package bash do: cygcheck --list-package bash it works for installed packages only ...
I haven't used cygwin in some time, but I'm guessing that it wants ~/.bash_profile. Simple fix to test. ln -s ~/.bashrc ~/.bash_profile Or if ~/.bash_profile exists, source .bashrc. if [ -f ~/.bashrc ] then . ~/.bashrc fi
You should be able to use setup.exe w/o the GUI: setup.exe -q -n -N -d -R c:\cygwin -s http://yourFavoriteMirror \ -l c:\localPackageDir -P <comma-separated list of packages to install> This is from cygwin mailing list (and follow up post)
This question was already asked here. Answer: wget http://apt-cyg.googlecode.com/svn/trunk/apt-cyg chmod +x apt-cyg mv apt-cyg /usr/local/bin/ apt-cyg install bc
I also wrote a proxy between openssh and pageant, which I call ssh-pageant. It looks like pretty much the same approach as charade, but I hadn't heard of it. Well in case you have trouble, I thought I'd throw out ssh-pageant to try instead.
I've played around with the Windows build of Unreal IRCd. It's annoying to configure if you've never configured a Unixy IRC server before, but there's always the website to help you out, and on the plus side you get portable knowledge (all the concepts as well as most config files can be ported straight to a Unix machine.)
I came across charade a while ago, which replaces ssh-agent and proxies to Pageant. At the time I couldn't quite get it working, and haven't had the chance to play with it since, but it might be worth a try. If you have any luck please post back and let me know, it's been on my list of things to do for ages!
xfer:clobber is the setting in lftp that decides whether or not to allow mget to replace files. Add set xfer:clobber on to your lftp script so that it's set, then the mget command should replace the file.
You could check with "strace" and see what it is not doing. strace ssh -v hostname
I just had this problem, and solved it, eventually. Firstly, make sure you were having the same issues as me. To do this, check the contents of your /var/log/sshd.log file: cat /var/log/sshd.log If the last line reads: /var/empty must be owned by root and not group or world-writable. then I can help you. Read on. All of the following need to run from ...
If you don't care about checking the validity of the certificate just add the --no-check-certificate option on the wget command-line.
Just invoke powershell with the relevant arguments and pipe it to wherever you want it? You need to make sure it's in the PATH of course.
Thanks, Your update was the resolution - for anyone else out there, there is a recipe #3 against Win32 error 1062 at Cygwin startup: 1) Check the Application Event log, see if there are "Information"-level events there with something like: "sshd: PID : Possible duplicate cygwin1.dll:" Find that silly duplicate at the specified location and rename it or get ...
Without going into value judgements about the paradigm the principal advantages of PowerShell are .Net integration and incumbency - from Windows 2008 server onwards it is bundled by default and it is loaded in service packs on 2003 and 2003 R2. To be fair, there are several other choices for scripting - for example Perl and Python. Python also gives you ...
Some people appear to be under the assumption that it is easy to swap out the hardware on whatever platform this person is using. It may very well be that 500MB is actually a large amount of space to sacrifice if they are perhaps using a CF adapter and a 4GB card to run windows on a netbook or similar. Or they may be installing it to a virtual image and this ...
I note that that my current install is under 250MB, It would have to be four times that size before I started to care about it on my laptop. But, if you have needs to get it smaller... Download the installer. Save it to to c:\cygwin\setup.exe. Run the installer. Unselecting as many of the packages as you can. Noting, that if you select a package that has ...
Edit: See Brian De Smet's answer. The "caching" is in your imagination.
Have a look at /etc/passwd. Make sure the entry there matches your expected home directory. It's the second to last field for your user's entry.
I've only used Windows SFU on Windows 2008 before, but I believe that's based on Interix. I've played with cygwin on occasion, but not a huge amount, so someone please correct me if I say something obviously wrong here. Unix-like feel: Interix wins this one. The environment feels far more "complete". I'm not sure how to put it. Interix runs alongside the ...
It's probably a permissions issue on either your ~/.ssh directory or your ~/.ssh/authorized_keys file. Your ~/.ssh directory should be chmod'd to 700 and your authorized_keys file should be chmod'd to 644 at the very least. If you check your /var/log/secure log file, it should give you some hint as to the reason it's failing.
There's no need to run Squid in Cygwin; Guido Serassio maintains binary installers for Windows, invlufi. Try using one of those instead; it has the same exact interface as the Linux versions.
I really am just guessing, but I suspect it might look something like this. rsync --archive --verbose --delete cygwin.com::cygwin-ftp/ /your/local/path/ See: http://sourceware.org/cygwin-apps/package-server.html
I recommend using an ssh key for this purpose. If you can log in as root, you can also change the configuration of the ssh server. As the next option, you can set the SSH_ASKPASS environment variable to point to a script that you write, that script just has to output the password on stdout. There is a few prerequisites for SSH_ASKPASS to work: The ssh ...
If you have instructions on how to install to Windows natively, you should follow native instructions. Cygwin is really a way to graft particular functionality to the Windows platform because it's not natively supported. It might be kind silly to take a UNIX-based application, graft it to an abstraction layer on Windows, and put up with (potential) ...
In general you want to avoid having excess services installed on servers. Given the sensitive job of Active Directory domain controller computers (storing user credentials and performing authentication) you should be even more concerned about them than, say, a file server. Having said that, though, a server computer with no software installed would be ...
Only top voted, non community-wiki answers of a minimum length are eligible