Closed (works as designed)
Project:
Git on Drupal.org
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Jan 2012 at 07:23 UTC
Updated:
15 Apr 2013 at 21:21 UTC
Hi i get an error with putty and Cygwin
Putty (XP):
Server refused to allocate pty
Server refused to start a shell/command
Cygwin (xp) and Linux (Suse xterm):
PTY allocation request failed on channel 0
shell request failed on channel 0
when I try to connect the first time to git.drupal.org
I tried with ssh key and with password
I have no problems with other Servers to connect
f.e the output from cgywin:
$ ssh -v username@git.drupal.org
OpenSSH_5.9p1, OpenSSL 0.9.8r 8 Feb 2011
debug1: Connecting to git.drupal.org [140.211.10.6] port 22.
debug1: Connection established.
debug1: identity file /home/username/.ssh/id_rsa type -1
debug1: identity file /home/username/.ssh/id_rsa-cert type -1
debug1: identity file /home/username/.ssh/id_dsa type -1
debug1: identity file /home/username/.ssh/id_dsa-cert type -1
debug1: identity file /home/username/.ssh/id_ecdsa type -1
debug1: identity file /home/username/.ssh/id_ecdsa-cert type -1
debug1: Remote protocol version 2.0, remote software version Twisted
debug1: no match: Twisted
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.9
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Server host key: RSA 69:35:9f:1b:a8:26:ad:6d:cc:93:29:25:6e:d7:25:2b
debug1: Host 'git.drupal.org' is known and matches the RSA host key.
debug1: Found key in /home/username/.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: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /home/username/.ssh/id_rsa
debug1: Trying private key: /home/username/.ssh/id_dsa
debug1: Trying private key: /home/username/.ssh/id_ecdsa
debug1: Next authentication method: password
username@git.drupal.org's password:
debug1: Authentication succeeded (password).
Authenticated to git.drupal.org ([140.211.10.6]:22).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
PTY allocation request failed on channel 0
shell request failed on channel 0
Comments
Comment #1
etron770 commentedHi to all I am not able to submit my module because I am not able to login.
Isn't there anybody who is able to assist me with that error?
Knut
Comment #2
eliza411 commentedThe first steps for contributing a module are at http://drupal.org/node/1068950. They don't involve direct ssh access to git.drupal.org. Hopefully this will help.
What directions are you following? I can take a look at them and see where the disconnect is.
Comment #3
etron770 commentedI followed:
http://drupal.org/node/1027094
installed my ssh key - it is working but the result is the same as with user/password authentication
So the sandbox project is created, but I am not able to login and upload the code.
Comment #4
eliza411 commentedOnce you have created the sandbox project, you should see a tab called Version control. If you click it, you'll find the appropriate commands for getting set up. There are directions for using the Version control tab at http://drupal.org/node/1072822
Have you gone through these steps yet?
Comment #5
etron770 commentedI am not able to get there,
because I am not able to login:
I am here when clikcing the version cotroll tab
:
This page gives the essential Git commands for working with this project's source files.
Empty Sandbox Repository
Setting up this repository for the first time:
You will be prompted to enter your Drupal.org password after the last step (and any time you make requests from Drupal.org) if you have not uploaded an SSH key or if your SSH key fails. See Authenticate with Git on Drupal.org for details.
mkdir uc_legal_aspects
cd uc_legal_aspects
git init
echo "name = UC Legal Aspects" > uc_legal_aspects.info
git add uc_legal_aspects.info
git commit -m "Initial commit."
git remote add origin etron770@git.drupal.org:sandbox/etron770/1400968.git
git push origin master
Comment #6
eliza411 commentedTo share code on Drupal.org, you must follow the steps that you've pasted above.
That will put just the single uc_legal_aspects.info file in your sandbox. When you've succeeded at that, and the initialized repository exists, there will be a whole new set of directions to help you.
Once you've followed the above directions, I will be glad to lend a further hand.
Comment #7
eliza411 commentedThose directions, by the way, you don't run them on drupal.org. You run them on your local machine. Maybe that's the confusion. To run them, you'll need to install Git for your platform: http://drupal.org/node/1010894
Comment #8
helmo commentedAs this is an old support request I assume this is not relevant anymore for you or the community.
It would help the developers when you close an issue the moment it is resolved by yourself. Please document your resolution as a last comment so others can make use of it too.
Feel free to re-open this issue if you want to provide further information. Make sure you retest against the the latest release.
Comment #8.0
helmo commenteddeleted usernames