-
-
Notifications
You must be signed in to change notification settings - Fork 94
SSH_Windows
Windows does not come with many of the command line tools available to Linux and OSX based systems. In order to use Calibre DRC, we need ‘ssh’ and ‘scp’ installed on Windows and available from the command line
1. Download the Cygwin installer. Choose setup-x86_64.exe for 64-bit versions and setup-x86.exe for 32-bit.
2. Run the setup executable.
3. Click “next” through the first five screens, leaving the defaults.
4. Select the first mirror from the Download Site list and hit “next”
5. In the Select Packages screen:
-
Search for ‘ssh’
-
Expand the Net tab (making sure View is set to Category)
-
Click the refresh sign ONCE beside the two libraries
-
libssh2_1
-
openssh
-
-
Click next
6. Click next on the resolving dependencies screen and wait for the installation to finish.
7. Click finish, adding icons if you want.
8. In the windows search bar type “Edit the system environment variables”
9. Select “Environment Variables…” in the lower right corner
10. Find “Path” in the System variables list and hit “Edit”
11. Hit “New” and enter the path C:/cygwin64/bin
12. Click OK on all three windows to close them.
13. Open the start menu, search ‘cmd’, right click and open as administrator.
14. Type in the following command and hit enter. This creates a softlink between your windows home folder and Cygwin (replace cygwin64 with cygwin if on a 32-bit system):
mklink /d C:\cygwin64\home\%USERNAME% C:%HOMEPATH%
15. Close the shell. You now have (most) regular Linux commands in Windows! (e.g. ls, cat, ssh, scp, etc.), just make sure the run the command window as administrator.