> |Thanks. The only problem I have now is I cannot get public key auth
> with |ssh2 (using rsa). I can do public key auth on ssh1 with no
> problems. When I |try to use ssh2 to login I get a permission denied. I
> created a ssh2 (rsa)
> I'm going to assume you're using openssh, which is easier to configure
> than classic ssh. In openssh, the ssh2 keys go in the same file
> .ssh/authorized_keys
That is what I am using..........
Quote:> Two things to check: that the server is trying protocol 2 as well. You
> need a line in /etc/ssh/sshd_config that says:
> Protocol 2,1
There is such a line in /etc/ssh/sshd_config
Quote:> or the reverse as you wish. Secondly, that your ssh client is attempting
> protocol 2 first. Force it with -2 and see what happens. Then look at
> /etc/ssh/ssh_config and see if there is a Protocol line. This file
> overrides .ssh/config so it may cause it to try protocol 1 first.
I had Protocol 1,2 line in my /etc/ssh/ssh_config. I switched to Protocol
2,1 and that seemed to do the trick. But now I need to force with -1 to
make it use ssh1 connections, even if the passed key type is ssh1. So now
it appears I will have to choose making either ssh1 or ssh2 the default
ssh protocol and explicty force the other, unless there is a way to get
ssh to look at the passed key and then automatically use the key type to
determine the correct protocol.
Thanks for the help.............