2017-12-29

Telnet and ssh from cygwin on windows xp in virtualbox

Another way how to play with shell commands.
By default new cygwin is not possible to install on Windows XP.

1. Get a cygwin installation which suppors windows xp

https://cygwin.com/ml/cygwin/2016-11/msg00071.html

2. Create shortcut for cygwin installation file and add -X (*capital X) in target field.

3. Use fruitbat mirror where to get files from

32-bit ftp://www.fruitbat.org/pub/cygwin/circa/2016/08/30/104223
64-bit ftp://www.fruitbat.org/pub/cygwin/circa/64bit/2016/08/30/104235

4. Add wget from mirror

5. Backup cygwin1.dll from /bin folder

6. wget apt-cyg

wget https://raw.githubusercontent.com/transcode-open/apt-cyg/master/apt-cyg
chmod +x apt-cyg
mv apt-cyg /usr/local/bin

7. install telnet using apt-cyg (telnet is in inetutils package)

apt-cyg install inetutils

8. install ssh using apt-cyg (ssh is in openssh package)

apt-cyg install openssh

9. Enjoy!