I've installed CopSSH Client (V5.3) on Windows 2012 R2 and modified the copssh.cmd file so that COPSSH_HOME points to the user's home directory, e.g.
REM Make environment variable changes local to this batch file
REM ** CUSTOMIZE ** Specify where to find openssh files
REM Set HOME variable to your windows home directory. That makes sure
REM that ssh command creates known_hosts in a directory you have access.
REM Make Copssh home as a part of system PATH to find required DLLs
REM Windows paths may contain a colon (:) as a part of drive designation and
REM backslashes (example c:\, g:\). Solution: use absolute path 'a la unix',
REM replace backslashes (\) with slashes (/) and put -/cygdrive/- in front of the
REM drive letter:
REM Example : C:\WORK\* --> /cygdrive/c/work/*
REM ** CUSTOMIZE ** Enter your openssh client command(s) here
sftp -vvv sftp-host
I get the following error:
debug1: Connection established.
Could not create directory '/home/Gary.Smallridge/.ssh'.
debug1: key_load_public: No such file or directory
How do I setup 'home' so that it is able to create the directory?