savannah-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-help-public] [sr #106183] Permission denied (publickey)


From: Sanjay Jaiman
Subject: [Savannah-help-public] [sr #106183] Permission denied (publickey)
Date: Sat, 12 Jan 2008 00:12:53 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.1)

Follow-up Comment #1, sr #106183 (project administration):

After exploring some more, I realized that I have to login as admin & set the
"rsa" & "dsa" public keys for CVS access.  I generated the "rsa" & "dsa" keys
on my system & put the public keys in.  I seem to get further but still not
able to access CVS with write access.  I tried "cvs checkout", "ssh" to
"cvs.savannah.gnu.org" but to no avail.  Here is what I tried & the output - 

bash-3.00$ cvs -z3
-d:pserver:address@hidden:/sources/tlvcomm co tlvcomm
cvs checkout: authorization failed: server cvs.savannah.nongnu.org rejected
access to /sources/tlvcomm for user sjaiman
cvs checkout: used empty password; try "cvs login" with a real password
bash-3.00$ ssh -v address@hidden
OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to cvs.savannah.gnu.org [199.232.41.69] port 22.
debug1: Connection established.
debug1: identity file /home/sjaiman/.ssh/identity type -1
debug1: identity file /home/sjaiman/.ssh/id_rsa type 1
debug1: identity file /home/sjaiman/.ssh/id_dsa type 2
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3p2
Debian-9
debug1: match: OpenSSH_4.3p2 Debian-9 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.9p1
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
The authenticity of host 'cvs.savannah.gnu.org (199.232.41.69)' can't be
established.
RSA key fingerprint is 80:5a:b0:0c:ec:93:66:29:49:7e:04:2b:fd:ba:2c:d5.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'cvs.savannah.gnu.org' (RSA) to the list of known
hosts.
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
debug1: Next authentication method: publickey
debug1: Trying private key: /home/sjaiman/.ssh/identity
debug1: Offering public key: /home/sjaiman/.ssh/id_rsa
debug1: Authentications that can continue: publickey
debug1: Offering public key: /home/sjaiman/.ssh/id_dsa
debug1: Server accepts key: pkalg ssh-dss blen 433
debug1: PEM_read_PrivateKey failed
debug1: read PEM private key done: type <unknown>
Enter passphrase for key '/home/sjaiman/.ssh/id_dsa': 
debug1: read PEM private key done: type DSA
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
You tried to execute: 
Sorry, you are not allowed to execute that command.
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: channel 0: free: client-session, nchannels 1
Connection to cvs.savannah.gnu.org closed.
debug1: Transferred: stdin 0, stdout 0, stderr 44 bytes in 0.2 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 287.1
debug1: Exit status 1
bash-3.00$ ssh -v address@hidden/sources/tlvcomm
OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
ssh: cvs.savannah.gnu.org/sources/tlvcomm: Name or service not known
bash-3.00$ 
bash-3.00$ 
bash-3.00$ ssh -v address@hidden:/sources/tlvcomm
OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
ssh: cvs.savannah.gnu.org:/sources/tlvcomm: Name or service not known
bash-3.00$ ssh -v address@hidden                 
OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to cvs.savannah.gnu.org [199.232.41.69] port 22.
debug1: Connection established.
debug1: identity file /home/sjaiman/.ssh/identity type -1
debug1: identity file /home/sjaiman/.ssh/id_rsa type 1
debug1: identity file /home/sjaiman/.ssh/id_dsa type 2
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3p2
Debian-9
debug1: match: OpenSSH_4.3p2 Debian-9 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.9p1
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 'cvs.savannah.gnu.org' is known and matches the RSA host key.
debug1: Found key in /home/sjaiman/.ssh/known_hosts:2
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
debug1: Next authentication method: publickey
debug1: Trying private key: /home/sjaiman/.ssh/identity
debug1: Offering public key: /home/sjaiman/.ssh/id_rsa
debug1: Authentications that can continue: publickey
debug1: Offering public key: /home/sjaiman/.ssh/id_dsa
debug1: Server accepts key: pkalg ssh-dss blen 433
debug1: PEM_read_PrivateKey failed
debug1: read PEM private key done: type <unknown>
Enter passphrase for key '/home/sjaiman/.ssh/id_dsa': 
debug1: read PEM private key done: type DSA
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
Last login: Fri Jan 11 23:57:01 2008 from 12.6.244.2
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: channel 0: forcing write
You tried to execute: 
Sorry, you are not allowed to execute that command.
debug1: channel 0: free: client-session, nchannels 1
Connection to cvs.savannah.gnu.org closed.
debug1: Transferred: stdin 0, stdout 0, stderr 44 bytes in 0.2 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 280.9
debug1: Exit status 1
bash-3.00$ pwd
/home/sjaiman/savannah
bash-3.00$ ls
bash-3.00$ cp ../tlvcomm.tgz .
bash-3.00$ 
bash-3.00$ 
bash-3.00$ scp -v tlvcomm.tgz
address@hidden:/sources/tlvcomm/.
Executing: program /usr/bin/ssh host cvs.savannah.gnu.org, user sjaiman,
command scp -v -t /sources/tlvcomm/.
OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to cvs.savannah.gnu.org [199.232.41.69] port 22.
debug1: Connection established.
debug1: identity file /home/sjaiman/.ssh/identity type -1
debug1: identity file /home/sjaiman/.ssh/id_rsa type 1
debug1: identity file /home/sjaiman/.ssh/id_dsa type 2
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3p2
Debian-9
debug1: match: OpenSSH_4.3p2 Debian-9 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.9p1
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 'cvs.savannah.gnu.org' is known and matches the RSA host key.
debug1: Found key in /home/sjaiman/.ssh/known_hosts:2
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
debug1: Next authentication method: publickey
debug1: Trying private key: /home/sjaiman/.ssh/identity
debug1: Offering public key: /home/sjaiman/.ssh/id_rsa
debug1: Authentications that can continue: publickey
debug1: Offering public key: /home/sjaiman/.ssh/id_dsa
debug1: Server accepts key: pkalg ssh-dss blen 433
debug1: PEM_read_PrivateKey failed
debug1: read PEM private key done: type <unknown>
Enter passphrase for key '/home/sjaiman/.ssh/id_dsa': 
debug1: read PEM private key done: type DSA
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending command: scp -v -t /sources/tlvcomm/.
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
You tried to execute: scp -v -t /sources/tlvcomm/.
Sorry, you are not allowed to execute that command.
debug1: channel 0: free: client-session, nchannels 1
debug1: fd 0 clearing O_NONBLOCK
debug1: fd 1 clearing O_NONBLOCK
debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.1 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
debug1: Exit status 1
lost connection
bash-3.00$ 

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/support/?106183>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]