URL: <http://savannah.gnu.org/support/?106792>
Summary: Unable to use scp (Permission denied) Project: Savannah Administration Submitted by: s3p Submitted on: Wed 27 May 2009 06:50:34 PM GMT Category: General upload (ftp.gnu.org & savannah) Priority: 5 - Normal Severity: 4 - Important Status: None Assigned to: None Originator Email: Operating System: GNU/Linux Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: I am unable to upload files to the Download Area using scp. Currently I am just trying to upload a test/dummy file: scp test.txt s...@dl.sv.nongnu.org:/releases/fnm/ This is the output I get: Permission denied (publickey). lost connection I have also tried using sftp the following way: sftp s...@dl.sv.gnu.org:/releases/fnm Which results in the following output: Connecting to dl.sv.gnu.org... Permission denied (publickey). Couldn't read packet: Connection reset by peer This is what I have done before trying to use sftp and scp: I have generated a ssh-key by running: ssh-keygen -t dsa I have added the key here: http://savannah.gnu.org/my/admin/editsshkeys.php I have also run "ssh-add" and waited for more than one hour before trying to use sftp and scp. It is apparently good to provide the output from the following command: ssh -v yourlo...@cvs.savannah.gnu.org So here it is :) OpenSSH_5.1p1, OpenSSL 0.9.8g 19 Oct 2007 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/s3p/.ssh/identity type -1 debug1: identity file /home/s3p/.ssh/id_rsa type -1 debug1: identity file /home/s3p/.ssh/id_dsa type 2 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1p1 Debian-5 debug1: match: OpenSSH_5.1p1 Debian-5 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_5.1 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/s3p/.ssh/known_hosts:3 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: Offering public key: /home/s3p/.ssh/id_dsa debug1: Authentications that can continue: publickey debug1: Offering public key: id_dsa debug1: Authentications that can continue: publickey debug1: Offering public key: Public Key debug1: Authentications that can continue: publickey debug1: Trying private key: /home/s3p/.ssh/identity debug1: Trying private key: /home/s3p/.ssh/id_rsa debug1: No more authentication methods to try. Permission denied (publickey). Help!!! _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/support/?106792> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/