Tag Info

Hot answers tagged

1

This solution helped me: cd ~/.ssh chmod 600 *


1

Move all of .gnupg to your USB stick. The native GnuPG for Windows builds have a registry setting, but the most portable option (working with both native and Cygwin versions) is to set the GNUPGHOME environment variable. If your Windows version has setx, run it from the Command Prompt: C:\> setx GNUPGHOME A:\Private\gnupg Otherwise, open the "System" ...


1

You'd need to setup a ChrootDirectory directory in sshd_config Detailed instructions for ArchLinux are available at SFTP chroot. The basic outline is as follows: 1) Add chroot configuration to sshd_confg such as: Match User username ChrootDirectory /home/%u ForceCommand internal-sftp 2) Change chroot directory rights with something like: chown ...


1

I setup the SFTP over cygwin recently and I realised that we cannot hide the following directories: /cygdrive /dev As you may be aware that the /path/to/sftp has to be root-owned that are not writeable by any other user or group, you need to update the user id in /etc/passwd to 0 because there is no root concept in Windows. If you jail the user to ...


1

Install the cygwin version of pngcrush instead of, or in addition to the Windows version of pngcrush. The cygwin version should function properly.


1

As stated here it's done with the help of Cygwin's command id: id -G | egrep -q '\<544\>' && set prompt = '# || set prompt = '\$ ' Or in my case with bash i added this to the end of /etc/bash.bashrc (Note that I removed the \n that comes in default prompt): id -G | egrep -q '\<544\>' && PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h ...


1

Try the -i flag to bash to make it an interactive shell, and keep it from quitting when the command is complete. cygstart /bin/bash -i pwd. Without the -i, bash sees that you want to run a command and quit.



Only top voted, non community-wiki answers of a minimum length are eligible