On Mon, 6 May 2013 04:37:27 +0000, Paul Aviles wrote:
> I am having problems trying to get ssh working for push. I am using Windows 7 
> pro 64 and TourtoisehG 2.8. I have a regular http server that allows me to 
> pull the code. I can putty into the linux server without being asked for a 
> user or password already using a profile in putty called "SERVER 
> [192.168.0.75]".
> 
> For commits I need to use ssh and I have the following in my global 
> mercurial.ini located under c:\Users\NAME\mercurial.ini
> 
> [ui]
> Username = My Name <[email protected]>
> ssh = "c:\program files\Tortoisehg\TortoisePlink.exe" -ssh -2 -C -batch -I 
> c:\Users\NAME\.ssh\server.ppk
> 
> Still when I try to push it is using http.

Hi,

Did you set "default" or "default-push" alias to ssh://<user>@<host>/<path> ?

http://mercurial.selenic.com/wiki/QuickStart#Network_support

You can change it via TortoiseHg->Synchronize View, or edit .hg/hgrc file.

Regards,

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to