darcs repository web UI and hosting app. This is the main darcsden trunk, which also runs hub.darcs.net. (https://hub.darcs.net)
#94PTY allocation request failed on channel 0
Im trying to conect to Darcs Hub and get the following error:
[user@system] ~/.ssh> ssh username@hub.darcs.net PTY allocation request failed on channel 0 shell request failed on channel 0
I set up my configuration as recommended in the FAQ. Thank you for your help!
- description updated
- description updated
- description updated
I found a blog post, that handled an issue with the same error message:
http://systemadmin.es/2013/09/ilo-shell-request-failed-on-channel-0
After creating a new ssh_config file without SendEnv information, and typing this into the console
ssh -F ~/.ssh/no_sendenv stefan@hub.darcs.net
I now get the following error:
Permission denied (publickey).
I copied the content of my ~/.ssh/stefan.pub into the pubkeys field of my darcs hub settings page. What am I doing wrong?
Update: I had to add
Host hub.darcs.net ControlMaster no ForwardAgent no ForwardX11 no IdentityFile ~/.ssh/stefan
to my custom ssh config file. Now the error remains the same as in the first post:
PTY allocation request failed on channel 0
shell request failed on channel 0
It seems, that the error doesn't impair functionality. I have successfully pushed my local repository to darcs hub without any problems.
Maybe I can ignore this message. Has anybody suggestions, how to handle this error?
- status set to closed
Thanks for the report. This is normal, explained at http://hub.darcs.net/#how-do-i-configure-ssh-access. A patch to give a friendlier message when you try an interactive ssh connection to darcsden would be most welcome.