openssh2.9.9p2 ignoring Protocol 2 in config
From: Michael Hanke (michael_hanke-News@gmx.de)Date: 02/19/02
- Previous message: Simon Drake: "Complete Newbie Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Michael Hanke <michael_hanke-News@gmx.de> Date: Tue, 19 Feb 2002 11:57:42 +0100
Hi,
I have a server running sshd with Protocol 2,1 and
I client with Protocol 2 for that particular server in my
~/.ssh/config
###
Host server
...
Protocol 2
###
It appears, that 'client% ssh server ...' uses
always Protocol 1 , thus ignoring the config file, whereas 'client% ssh
-2 server ...' works as expected.
With this I cannot connect without password unless doing
alias ssh="ssh -2" or something.
Running sshd on the server side with pure Protocol 2, also works fine,
but is not desired.
Here is the output of 'ssh -v -v -v server'
OpenSSH_2.9.9p2, SSH protocols 1.5/2.0, OpenSSL 0x0090602f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Reading configuration data /server_disk_1/home/myself/.ssh/config
debug3: key names ok: [ssh-dss,ssh-rsa]
debug1: Applying options for *
debug3: key names ok: [ssh-dss,ssh-rsa]
debug1: Seeding random number generator
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: restore_uid
debug1: ssh_connect: getuid 500 geteuid 0 anon 1
debug1: Connecting to server [192.168.1.5] port 22.
debug1: temporarily_use_uid: 500/100 (e=0)
debug1: restore_uid
debug1: temporarily_use_uid: 500/100 (e=0)
debug1: restore_uid
debug1: Connection established.
debug1: read PEM private key done: type DSA
debug1: read PEM private key done: type RSA
debug3: No RSA1 key file /server_disk_1/home/myself/.ssh/id_dsa.
whats this ? Sureley id_dsa is no rsa key. I've done
'ssh-keygen -t dsa' .
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug3: key_read: no key found
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug2: key_type_from_name: unknown key type '-----END'
debug3: key_read: no key found
debug1: identity file /server_disk_1/home/myself/.ssh/id_dsa type 2
debug1: Remote protocol version 1.99, remote software version OpenSSH_2.9.9p2
debug1: match: OpenSSH_2.9.9p2 pat ^OpenSSH
debug1: Local version string SSH-1.5-OpenSSH_2.9.9p2
debug1: Waiting for server public key.
debug1: Received server public key (768 bits) and host key (1024 bits).
debug3: check_host_in_hostfile: filename /server_disk_1/home/myself/.ssh/known_hosts2
debug3: check_host_in_hostfile: filename /etc/ssh/ssh_known_hosts2
debug3: check_host_in_hostfile: filename /server_disk_1/home/myself/.ssh/known_hosts2
debug3: check_host_in_hostfile: filename /etc/ssh/ssh_known_hosts2
debug3: check_host_in_hostfile: filename /server_disk_1/home/myself/.ssh/known_hosts
debug3: check_host_in_hostfile: match line 1
debug3: check_host_in_hostfile: filename /server_disk_1/home/myself/.ssh/known_hosts
debug3: check_host_in_hostfile: match line 1
debug1: Host 'server' is known and matches the RSA1 host key.
debug1: Found key in /server_disk_1/home/myself/.ssh/known_hosts:1
debug1: Encryption type: blowfish
debug1: Sent encrypted session key.
debug1: Installing crc compensation attack detector.
debug1: Received encrypted confirmation.
debug1: Doing password authentication.
myself@server's password:
Why does 'ssh -2' put new keys in 'known_hosts' instead of 'knownhosts2'
?
Thanks for your help
--
Michael _o
/_[; __/
_]/(_) _/
PGP-Key 0x7E1231ED _____ (_) ___/
- Next message: Janne G: "Someway to tell the diff between a sftp from a shell session?"
- Previous message: Simon Drake: "Complete Newbie Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|