Unable to push to new private repo

11 views
Skip to first unread message

Justin Bailey

unread,
Feb 16, 2009, 3:48:26 PM2/16/09
to patch-tag-users
Just created a new repo today and i am unable to push to it. When I
try

darcs push m4dc4p@patch-tag:/privaterepos/haskelldb

I get

darcs failed: Not a repository: m4dc4p@patch-tag:/privaterepos/
haskelldb ((scp) failed to fetch: m4dc4p@patch-tag
:/privaterepos/haskelldb/_darcs/inventory)

Note the odd hostname is because I am using PuTTY, so patch-tag
actually connects to ssh.patch-tag.com.

Let me know what other info I can provide.

Justin

Thomas Hartman

unread,
Feb 16, 2009, 4:48:30 PM2/16/09
to patch-t...@googlegroups.com
try again.

the way things are now, we have to run a cleanup script to get
everything working. (which I just did)

there are a lot of fixes that will be pushed to the live server soon.
--
Thomas Hartman

Need somewhere to host your code? patch-tag.com
Want to build a webapp? happstack.com

Justin Bailey

unread,
Feb 16, 2009, 6:11:23 PM2/16/09
to patch-t...@googlegroups.com
On Mon, Feb 16, 2009 at 1:48 PM, Thomas Hartman
<thomash...@googlemail.com> wrote:
>
> try again.
>
> the way things are now, we have to run a cleanup script to get
> everything working. (which I just did)
>

I get the same result unfortunately:

>darcs push m4dc4p@patch-tag:/privaterepos/haskelldb

darcs failed: Not a repository:

m4dc4p@patch-tag:/privaterepos/haskelldb ((scp) failed to fetch:
m4dc4p@patch-tag
:/privaterepos/haskelldb/_darcs/inventory)


Justin

Matthew Elder

unread,
Feb 16, 2009, 6:16:37 PM2/16/09
to patch-t...@googlegroups.com
Justin, please try now. Sorry for the inconvenience.

Matthew Elder

unread,
Feb 16, 2009, 7:11:58 PM2/16/09
to patch-tag-users
This is resolved.
> --
> Need somewhere to put your code?http://patch-tag.com
> Want to build a webapp?http://happstack.com- Hide quoted text -
>
> - Show quoted text -

Aldekein

unread,
Mar 19, 2009, 10:44:15 PM3/19/09
to patch-tag-users
I have the same problem now.

I use instructions from http://patch-tag.com/repo/myevil/darcscommands
and get this error:

darcs push Alde...@patch-tag.com:/r/myevil

darcs failed: Not a repository: Alde...@patch-tag.com:/r/myevil
((scp) failed to fetch: Alde...@patch-tag.com:/r/myevil/_darcs/
inventory)

Thomas Hartman

unread,
Mar 20, 2009, 6:51:07 AM3/20/09
to patch-t...@googlegroups.com
Did you upload a public ssh key?

Thomas Hartman

unread,
Mar 20, 2009, 7:08:00 AM3/20/09
to patch-t...@googlegroups.com
Actually I see that you have uploaded a key.

What is the output of the following command?

ssh -v Alde...@patch-tag.com

On Thu, Mar 19, 2009 at 7:44 PM, Aldekein <alde...@myevil.info> wrote:

Aldekein

unread,
Mar 21, 2009, 11:06:31 PM3/21/09
to patch-tag-users, Thomas Hartman
> What is the output of the following command?
>
> ssh -v Alde...@patch-tag.com

C:\Program Files\OpenSSH\bin>ssh -v Alde...@patch-tag.com
OpenSSH_3.8.1p1, OpenSSL 0.9.7d 17 Mar 2004
debug1: Connecting to patch-tag.com [64.22.109.73] port 22.
debug1: Connection established.
debug1: identity file /Home/.ssh/identity type -1
debug1: identity file /Home/.ssh/id_rsa type -1
debug1: identity file /Home/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version
OpenSSH_4.6p1 Debian-5build
debug1: match: OpenSSH_4.6p1 Debian-5build1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'patch-tag.com' is known and matches the RSA host key.
debug1: Found key in /Home/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,keyboard-
interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /Home/.ssh/identity
debug1: Trying private key: /Home/.ssh/id_rsa
debug1: Trying private key: /Home/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
Password:
debug1: Authentications that can continue: publickey,keyboard-
interactive
Password:
debug1: Authentications that can continue: publickey,keyboard-
interactive
Password:
debug1: Authentications that can continue: publickey,keyboard-
interactive
debug1: No more authentication methods to try.
Permission denied (publickey,keyboard-interactive).


I enter the password from the key pair that I've generated.
Pageant is running and the key is shown here.

Matthew Elder

unread,
Mar 21, 2009, 11:19:15 PM3/21/09
to patch-t...@googlegroups.com
Aldekein,

OpenSSH cannot find a private key on your local machine. If you have created a private/public keypair already, it is not able to find the private key that corresponds to the public key that was uploaded to patch-tag. I see that you are running Windows; have you configured pageant? Pageant is the best way to get private/public key auth working on windows.

For more information on ssh with windows, please see a blog post I wrote recently about this: http://blog.patch-tag.com/2009/03/01/howto-setup-windows-for-use-with-darcs2-and-patch-tag/

I hope this helps.
--
Need somewhere to put your code? http://patch-tag.com
Want to build a webapp? http://happstack.com

Aldekein

unread,
Mar 24, 2009, 1:52:08 AM3/24/09
to patch-tag-users
> For more information on ssh with windows, please see a blog post I wrote
> recently about this:http://blog.patch-tag.com/2009/03/01/howto-setup-windows-for-use-with...

Thank you.
If I try `plink -v Alde...@patch-tag.com` - everything is ok.

C:\Program Files\darcs>plink -v Alde...@patch-tag.com
Looking up host "patch-tag.com"
Connecting to 64.22.109.73 port 22
Server version: SSH-2.0-OpenSSH_4.6p1 Debian-5build1
We claim version: SSH-2.0-PuTTY_Release_0.60
Using SSH protocol version 2
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange with hash SHA-256
The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's rsa2 key fingerprint is:
ssh-rsa 2048 13:71:3e:2b:e5:fc:b7:ec:58:4a:e6:11:78:6f:a7:1b
If you trust this host, enter "y" to add the key to
PuTTY's cache and carry on connecting.
If you want to carry on connecting just once, without
adding the key to the cache, enter "n".
If you do not trust this host, press Return to abandon the
connection.
Store key in cache? (y/n) y
Host key fingerprint is:
ssh-rsa 2048 13:71:3e:2b:e5:fc:b7:ec:58:4a:e6:11:78:6f:a7:1b
Initialised AES-256 SDCTR client->server encryption
Initialised HMAC-SHA1 client->server MAC algorithm
Initialised AES-256 SDCTR server->client encryption
Initialised HMAC-SHA1 server->client MAC algorithm
Pageant is running. Requesting keys.
Pageant has 1 SSH-2 keys
Using username "Aldekein".
Trying Pageant key #0
Authenticating with public key "rsa-key-20090320" from agent
Sending Pageant's response
Access granted
Opened channel for session
Allocated pty (ospeed 38400bps, ispeed 38400bps)
Started a shell/command
Linux happstutorial.com 2.6.18.8-linode16 #1 SMP Mon Jan 12 09:50:18
EST 2009 i686

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
sh-3.2$

------------------

So I followed the instructions at the blog entry and renamed PLINK.EXE
to SSH.EXE etc.
Now everything is ok.

But OpenSSH still does not work.

Aldekein

unread,
Mar 24, 2009, 2:08:27 AM3/24/09
to patch-tag-users
I also just converted the key file to OpenSSH format using Puttygen
and put this key as "c:\Documents and Settings\.ssh\id_rsa" and "c:
\Documents and Settings\.ssh\identity".

Now the ssh utility from the OpenSSH pack works too.

Just in case.

Matthew Elder

unread,
Mar 24, 2009, 2:12:27 AM3/24/09
to patch-t...@googlegroups.com
Great! Glad to hear it.

Thomas Hartman

unread,
Mar 24, 2009, 2:57:09 AM3/24/09
to patch-t...@googlegroups.com
Glad you got it working!

There is a major overhaul of the windows ssh-setup documentation in the works :)

On Mon, Mar 23, 2009 at 11:08 PM, Aldekein <alde...@myevil.info> wrote:

--
Thomas Hartman

Need somewhere to host your code? patch-tag.com
Want to build a webapp? happstack.com
Reply all
Reply to author
Forward
0 new messages