Perl 6 - the future is here, just unevenly distributed

IRC log for #darcs, 2017-11-28

| Channels | #darcs index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:33 dino- sm: Is the thing you have on hub.darcs.net with the ssh ... init also in the darcsden source?
00:33 dino- I like it
00:46 sm dino-: darcsden-ssh ? yes
00:46 sm there's a cabal flag to build it
00:48 byorgey joined #darcs
00:48 byorgey joined #darcs
01:12 dino- Ok, thank you
01:40 pointfree dino-: I'm using a darcsden user feed feature in my personal instance of darcsden. If you are interested I can direct you to it so you can use it like I am and you might even end up finalizing it someday or something ;)
01:42 dino- pointfree: You mean like generating posts?
01:42 dino- I'm having some trouble with the darcsden-ssh. It keeps failing with `init: Cannot find required SSH keyfile:...`
01:43 dino- I did put ssh keys in the Settings in the web app.
01:46 dino- I am using keys with different names than 'id_rsa', I don't like to use the same key everywhere.
01:51 dino- Hey, what could I have done wrong if this happens:
01:52 dino- I can create a repo with the button in the web UI but when I push to it: "darcs failed:  Not a repository: darcs.sigmetsol.com:foo1 (The program "scp some.domain.com:foo1/_darcs/inventory ./darcs16816927771714636915" failed with error: "scp: foo1/_darcs/inventory: No such file or directory
01:52 dino- ".)
01:52 pointfree dino-: Like a github user feed. Subscribe and aggregate issue updates, pushed patches, new repo events into a single feed of all your subscriptions. Old screenshot: http://odroid.0xffffffff.in/~deploy/darcsden-feed-screenshots/darcsden-feed.png (user names are links now)
01:54 dino- pointfree: That looks nice
01:56 pointfree dino-: What command did you use to push to it? Did you by any chance delete darcsden/users/dino/reponame while the couchdb document still exists?
01:57 dino- No, it was the very next thing I did after clicking create the new repo
01:57 sm darcs errors can be very misleading wrt network issues. Check ssh connection as in the darcs hub FAQ
01:57 dino- 'darcs push --set-default darcs.sigmetsol.com:foo1'
01:58 dino- And the username is the same on both systems
01:58 dino- (from within the repo dir containing _darcs)
01:58 dino- sm: will do, thanks
01:59 pointfree did you try darcs push --set-default dino@darcs.sigmetsol.com:dino/foo1
02:00 pointfree (if your darcsden username is dino)
02:00 dino- pointfree: same error
02:00 dino- I can ssh to there otherwise
02:01 dino- from this machine with this user
02:01 dolio joined #darcs
02:03 pointfree dino-: maybe try ssh -vvvvvv -p <darcsden_ssh_port_num> dino@darcs.sigmetsol.com for debug info.
02:04 dino- That command doesn't fail, it's only when I push
02:05 dino- Oh maybe there's something in the verbose success output I could use
02:06 pointfree dino-: by the way, are you using regular haskell ssh or https://hub.darcs.net/simon/ssh_darcshub ? But yes, the error seems further on than the kex.
02:07 sm what about darcs repo format ? darcsden used to not support darcs-1 repos
02:07 dino- This was a brand new repo for testing out the server.
02:07 sm can you darcs get it ?
02:08 dino- sm: no, same error
02:08 dino- pointfree: Not sure what you mean, I left everything as it was in sm's darcs repo. You mean the lib darcsden-ssh is built against?
02:10 pointfree dino-: yes, the upstream haskell ssh does not support the new key exchange algorithm, but ssh_darcshub does support it, but it won't be used by default.
02:11 dino- ah, I've been using simon/darcsden all along.
02:13 dino- without anything else that wasn't pulled in automatically by the stack.yaml
02:13 sm but if you can ssh connect as in the FAQ, ssh key negotiation probably isn't the problem
02:15 sm ie: ssh YOU@DARCSDENHOST -> "PTY allocation request failed on channel 0"
02:16 dino- I can ssh into the system, yeah. It's actually on Azure, it's the only way I can work on it
02:22 sm to be clear: you can ssh to darcsden's ssh server ? not the system ssh server. I should have said "ssh YOU@DARCSDENHOST -p DARCSDENSSHPORT"
02:23 dino- No, I didn't get that part. darcsden-ssh need to run like a daemon? I thought it was being invoked when the ssh command came in
02:24 dino- For some reason I thought perhaps you renamed your binary to `init`
02:24 sm no, it's a separate daemon you have to start
02:25 dino- Yeah, it's right there in the README too :(
02:25 sm \o/
02:26 dolio joined #darcs
02:26 sm hub.darcs.net is configured specially so that the darcsden ssh server is on the default port
02:29 sm otherwise, I think you need to prefix "SSH_PORT=PORT " to your darcs remote commands
02:29 sm eg "SSH_PORT=8022 darcs get ..."
02:29 dino- ok
02:29 sm or better, configure the port for that host in ~/.ssh/config
02:30 sm Host HOST
02:31 sm Port PORT
02:37 dino- Ok, I can't open that port myself but tried with a quick ssh tunnel. I got up to the 'no matching key... diffie-hellman-group1-sha1' message. Making progress
02:37 dino- doing a `ssh me@localhost -p 8022` through this tunnel to see if just ssh to darcsden-ssh worked. And it seems closer now, so that's good.
02:38 sm go go
02:39 sm simon/darcshub_ssh is the patched version of ssh that supports newer keys IIRC
02:39 sm as pointfree said
02:39 sm ssh_darcshub
02:40 dino- got it, I'll pick this back up tomorrow. Thank you for helping so much.
02:41 pointfree dino-: You may also need:
02:41 pointfree Ciphers aes256-cbc,aes192-cbc,aes128-cbc
02:41 pointfree in ~/.ssh/config
02:41 pointfree (this is new)
02:41 sm in darcsden/stack.yaml, I have ../ssh_darcshub added to packages:, and curve25519-0.2.3 added to extra-deps:
02:41 dino- Ah yes, I have those in my own config for using hub.darcs.net
02:42 sm or I think you can just configure your ssh to allow older keys
02:56 sm older ciphers
02:56 sm "just" the usual fun :)
02:56 sm good luck!
02:56 dino- ok I took notes on this, thanks again
02:57 ilbot3 joined #darcs
02:57 Topic for #darcs is now http://darcs.net/ | logs: http://irclog.perlgeek.de/darcs/ | darcs 2.12.5 is out http://darcs.net/Releases/2.12
04:45 mizu_no_oto joined #darcs
06:41 Weltraumschaf joined #darcs
08:28 Weltraumschaf joined #darcs
10:07 ThomasLocke joined #darcs
11:45 stef204 joined #darcs
12:15 stef204 joined #darcs
12:26 stef204 joined #darcs
12:44 stef204 joined #darcs
13:28 stef204 joined #darcs
14:00 stef204 joined #darcs
22:28 mizu_no_oto joined #darcs

| Channels | #darcs index | Today | | Search | Google Search | Plain-Text | summary