Jack Diederich <jackdied <at> gmail.com> writes: > > Most of my problems with ssh are permissions related. Make sure the > directory and the individual files under .ssh are "-rw------" (it will > refuse to use them if the permissions are too permissive). If you are > getting failures trying ssh'ing in manually and adding "-v" flags > until you see something interesting. >
Hi Jack, Thanks for the response. I checked the permissions and verified them to be 600 on ~/.ssh/id_rsa. Your suggestion to ssh -v is a good one, and it lets me in despite there being debug messages about the key being invalid - so I don't see how it could be! Transcript follows (a bit long, hopefully not tl;dr): vi...@eta-jaunty:~/projects/python$ ssh -v python...@svn.python.org OpenSSH_5.1p1 Debian-5ubuntu1, OpenSSL 0.9.8g 19 Oct 2007 debug1: Reading configuration data /home/vinay/.ssh/config debug1: Applying options for svn.python.org debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to svn.python.org [82.94.164.164] port 22. debug1: Connection established. debug1: identity file /home/vinay/.ssh/identity type -1 debug1: identity file /home/vinay/.ssh/id_rsa type -1 debug1: identity file /home/vinay/.ssh/id_dsa type -1 debug1: Remote protocol version 2.0, remote software version [as below] 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.1p1 Debian-5ubuntu1 [handshake lines omitted] debug1: Host 'svn.python.org' is known and matches the RSA host key. debug1: Found key in /home/vinay/.ssh/known_hosts:2 debug1: ssh_rsa_verify: signature correct [handshake lines omitted] debug1: Authentications that can continue: publickey debug1: Next authentication method: publickey debug1: Offering public key: vi...@eta-jaunty debug1: Authentications that can continue: publickey debug1: Offering public key: /home/vinay/.ssh/id_rsa debug1: Remote: Forced command: [...]svnserve [...] --tunnel-user 'vinay.sajip' [forwarding info omitted] debug1: Server accepts key: pkalg ssh-rsa blen 148 debug1: Remote: Forced command: [...]svnserve [...] --tunnel-user 'vinay.sajip' [forwarding info omitted] debug1: Authentications that can continue: publickey debug1: Trying private key: /home/vinay/.ssh/identity debug1: Trying private key: /home/vinay/.ssh/id_rsa debug1: PEM_read_PrivateKey failed debug1: read PEM private key done: type <unknown> Enter passphrase for key '/home/vinay/.ssh/id_rsa': debug1: PEM_read_PrivateKey failed debug1: read PEM private key done: type <unknown> Enter passphrase for key '/home/vinay/.ssh/id_rsa': debug1: read PEM private key done: type RSA debug1: Remote: Forced command: [...]svnserve [...] --tunnel-user 'vinay.sajip' [forwarding info omitted] debug1: Authentication succeeded (publickey). debug1: channel 0: new [client-session] debug1: Requesting no-more-sessi...@openssh.com debug1: Entering interactive session. debug1: Sending environment. debug1: Sending env LANG = en_GB.UTF-8 PTY allocation request failed on channel 0 [success message omitted] I set up my ~/.ssh/config file to say User vinay.sajip under Host svn.python.org, just in case it was an issue related to the different user name on the local/remote system. I'm still stumped! Regards, Vinay Sajip _______________________________________________ python-committers mailing list python-committers@python.org http://mail.python.org/mailman/listinfo/python-committers