Dear Gurus,
I have two servers adms and ads1, both running Solaris 9. I want to ssh from adms to ads1.
So I created a ssh2 key using the following command:-
ssh-keygen -t rsa -b 2048 -C "dartkey"
I then added the contents of dartkey.pub to the authorised_key file on ads1.
I then attempted to connect to the server...
> ssh -v -2 -l dart -i .ssh/dartkey ads1
SSH Version Sun_SSH_1.0.1, protocol versions 1.5/2.0.
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: ssh_connect: getuid 101 geteuid 101 anon 1
debug1: Connecting to ads1-winn.server.virgin.net [172.17.3.30] port 22.
debug1: Connection established.
debug1: Bad RSA1 key file .ssh/dartkey.
debug1: identity file .ssh/dartkey type 3
ssh_exchange_identification: Connection closed by remote host
debug1: Calling cleanup 0x3ee0c(0x0)
>
On adms :-
> ssh -V
SSH Version Sun_SSH_1.0.1, protocol versions 1.5/2.0.
>
On ads1 :-
>ssh -V
Sun_SSH_1.1, SSH protocols 1.5/2.0, OpenSSL 0x0090700f
I've updated the hosts.allow on ads1 with adms's details.
The sshd_config and ssh_config on both servers:- Protocol 2
I chmod the key to 600...
Also I can do
> telnet ads1 22
Trying 172.17.3.30...
Connected to ads1-winn.
Escape character is '^]'.
any help would greatly appericated.