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 ...
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
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 ...
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.
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 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!
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.)
You could check with "strace" and see what it is not doing. strace ssh -v hostname
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.
easy_install is part of the setuptools package. This package is provided by cygwin. To install it, rerun the cygwin setup[...].exe installer, and at the package selection step, tick "Python/python-setuptools". The easy_install script has the version number attached. Instead of running easy_install, run easy_install-2.7 or easy_install-3.4 (or whatever x.y ...
If you don't care about checking the validity of the certificate just add the --no-check-certificate option on the wget command-line.
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 ...
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.
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 ...
It appears to be related to my Active Directory username or group memberships. The error went away after running the following command as per this article: mkpasswd -l -c > /etc/passwd; mkgroup -l -d > /etc/group This updates the cygwin files with the latest AD user/group information.
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 ...
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 ...
After way too much time spent stumbling around, I've finally discovered the cause of my problem. In short, I was getting "Permission denied" for my non-administrator users because on a DC, the Users group does not have the "Allow logon locally" user right. When sshd tried to switch context from the sshd service's account to a non-privileged user, the ...
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 ...
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 ...
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.
Have you tried checking WMI for accurate values? You can query common aliases through the wmic command: C:\>wmic partition get name,bootable,size,type C:\>wmic diskdrive get size,status,TotalCylinders,TotalSectors,SCSIPort,SCSITargetId,model
Barry Kelly is right. You need to use my wrapper software that creates hidden console and runs powershell on it. My page is here: http://sergeybelous.com/shell-terminal/#proxywinconsole.exe Someone already found my wrapper software and created tutorial here: http://ssh-with-powershell.blogspot.com/2013/07/enable-ssh-with-powershell-and-remove.html
Only top voted, non community-wiki answers of a minimum length are eligible