The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
problem with dd command or maybe AFS problem Anta Shell Programming and Scripting 0 08-25-2006 07:10 AM
SSH Problem auth problem budrito UNIX for Advanced & Expert Users 1 03-17-2004 06:12 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-04-2007
Zak Zak is offline
Registered User
 

Join Date: Mar 2005
Posts: 29
Stumble this Post!
ssh problem

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.
Reply With Quote
Google The UNIX and Linux Forums
Forum Sponsor
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:37 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0