Mercurial on windows and ssh configuration with Copssh problem -


I installed copssh on a windows 2008 server and then I tried to make a copy on the server via ssh. But no matter how hard I did I was unable to fix this error. Here's the logging:

  c: \ user \ administrator & gt; HG Clone SSH: //ehsan@rafsanjani.ir Host's authenticity 'rafsanjani.ir (96.31.90.174)' could not be installed. RSA's fingerprint 41: A8: 41: 21: 61: 1A: 67: 2C: E8: 44: 99: 6C: 63: E7: 06: 73. Are you sure you want to continue connecting (yes / no)? Yes, ehsan@fasjani.ir Password: Remote: Directory '/ Homes / Admasters / SSH' could not be made. Remote: Failed to add host to list of known hosts (/home/Administrator/.ssh/known_hosts) Remote: / bin / Bash: Disclaimer with permission was rejected: There is no appropriate response from remote HG!  

I tried to log in with the administrator but I get the same error message. In addition, I have changed the permissions of the folder located in C: \ Program Files (x86) \ ICW \ home \ administrator, so that ehsan has full access to this folder.

Even when I connect to the server with Putin and use this command:

  cd /home/administrator/.ssh echo test & gt; Test  

will create a file test! So it seems that I have permission for this folder!

This is logged when I try to clone with an administrator account:

  c: \ user \ administrator & gt; Hg Clone Ssh: //administrator@rafsanjani.ir Host 'authenticity of rafsanjani.ir (96.31.90.174)' can not be installed. RSA's fingerprint 41: A8: 41: 21: 61: 1A: 67: 2C: E8: 44: 99: 6C: 63: E7: 06: 73. Are you sure you want to continue connecting (yes / no)? Yes password of administrator@rafsanjani.ir: Remote: directory '/home/Administrator/.ssh' could not be created Remote: Failed to add host to list of known hosts (/home/Administrator/.ssh/known_hosts) Remote: Bash: HG: Command not found Abortion: There is no appropriate response from remote HG! The latest version of Copssh / cwrsync uses Cygwin 1.7 and requires a HOME environment variable  

then just add a HOME =% HOMEDRIVE% HOMEPATH% variable and it should work immediately. This was done for me :)


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -