Enhancements / addons for Cygwin-like environments
Specially for CygWin. The script does ssh calls in serial emulating PSSH functionality.
wget -O /usr/local/bin/pssh https://raw.githubusercontent.com/zhubanRuban/cygwin-extras/master/pssh
chmod +x /usr/local/bin/pssh
Parallel SCP tool written in bash, specially for CygWin
wget -O /usr/local/bin/pscp https://raw.githubusercontent.com/zhubanRuban/cygwin-extras/master/pscp
chmod +x /usr/local/bin/pscp
To remember / reuse ssh key password and share between termnals
- append function to your .bashrc
wget -qO- https://github.com/zhubanRuban/cygwin-extras/raw/master/ssh-agent-tweak >> ~/.bashrc
- add
AddKeysToAgent yes
to ~/.ssh/config
- download to /etc/profile.d/
wget -O /etc/profile.d/ssh-agent-tweak.sh https://github.com/zhubanRuban/cygwin-extras/raw/master/ssh-agent-tweak
- add
AddKeysToAgent yes
to /etc/ssh_config
Created specially for CygWin+ConEmu portable installer: https://github.com/zhubanRuban/cygwin-portable
Makes Ctrl+Left and Ctrl+Right move cursor by words in local console (like in Linux systems)
Append to your .inputrc
wget -qO- https://raw.githubusercontent.com/zhubanRuban/cygwin-extras/master/inputrc_custom >> ~/.inputrc
This script shows available colour codes
As of 2017, whois does not show contact details in the output. This funtion allows to return this functionality. Based on TinyApps_Org's tweak
Append to your .bashrc
wget -qO- https://raw.githubusercontent.com/zhubanRuban/cygwin-extras/master/whois-tweak >> ~/.bashrc