ssh version 1 problem please help | Unix Linux Forums | IP Networking

  Go Back    


IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

ssh version 1 problem please help

IP Networking


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 12-15-2011
llcooljatt llcooljatt is offline
Banned
 
Join Date: Oct 2011
Last Activity: 7 January 2012, 5:52 AM EST
Location: USA
Posts: 60
Thanks: 52
Thanked 0 Times in 0 Posts
ssh version 1 problem please help

Hi guys please help with the following.

$ssh -1 -vvv -l username -o "ForwardX11 yes" server.name netscape
OpenSSH_5.8p1, OpenSSL 0.9.8r 8 Feb 2011
debug2: ssh_connect: needpriv 0
debug1: Connecting to server.address [1.1.1.1] port 22.
debug1: Connection established.
debug1: identity file /home/username/.ssh/identity type -1
debug1: identity file /home/username/.ssh/identity-cert type -1
debug1: Remote protocol version 1.5, remote software version 1.2.26
debug1: no match: 1.2.26
debug1: Local version string SSH-1.5-OpenSSH_5.8
debug2: fd 3 setting O_NONBLOCK
debug1: Waiting for server public key.
debug1: Received server public key (768 bits) and host key (1024 bits).
debug1: Server host key: RSA1 0d:02:ad:64:5f:af:fa:e1:c6:ae:50:1a:91:7e:ab:f9
debug3: load_hostkeys: loading entries for host "proxy-bt-2" from file "/home/username/.ssh/known_hosts"
debug2: key_type_from_name: unknown key type '1024'
debug3: key_read: missing keytype
debug3: load_hostkeys: found key type RSA1 in file /home/username/.ssh/known_hosts:1
debug3: load_hostkeys: loaded 1 keys
debug3: load_hostkeys: loading entries for host "1.1.1.1" from file "/home/username/.ssh/known_hosts"
debug2: key_type_from_name: unknown key type '1024'
debug3: key_read: missing keytype
debug3: load_hostkeys: found key type RSA1 in file /home/username/.ssh/known_hosts:1
debug3: load_hostkeys: loaded 1 keys
debug1: Host 'server.address' is known and matches the RSA1 host key.
debug1: Found key in /home/username/.ssh/known_hosts:1
debug1: Encryption type: 3des
debug1: Sent encrypted session key.
debug2: cipher_init: set keylen (16 -> 32)
debug2: cipher_init: set keylen (16 -> 32)
debug1: Installing crc compensation attack detector.
debug1: Received encrypted confirmation.
Permission denied.



I have run an ssh-keygen and made sure id_rsa.pub is the same in the client and server side /home/username/.ssh/ directory


Presume after it receives the encrypted confirmation something is not matching?




Last edited by llcooljatt; 12-15-2011 at 01:19 PM..
Sponsored Links
    #2  
Old 12-16-2011
llcooljatt llcooljatt is offline
Banned
 
Join Date: Oct 2011
Last Activity: 7 January 2012, 5:52 AM EST
Location: USA
Posts: 60
Thanks: 52
Thanked 0 Times in 0 Posts
Figured it out finally thought id let you know.

I had to use the -t (type of key) option for rsa1 when generating the key as remote server linux version used only ssh version 1 which looks like it doesn't support my original rsa key as this is a type 2 (rsa2) due to different length/algorithm etc.

ssh-keygen -N passphrase -t rsa1

then copy /home/username/identity.pub key from client into server side /home/username/authorized_keys

and were in !
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Advanced Search * View * Edit JAVA version to WORK in GLASSFISH Forum topic JAVA version lhareigh890 UNIX for Advanced & Expert Users 1 02-10-2011 02:49 PM
a problem with write a script in Linux version 2.4.27-ubnt0 cygol UNIX for Dummies Questions & Answers 1 11-14-2010 12:46 PM
%Internal DCE Threads problem (version CMA BL10+) vanz HP-UX 0 02-25-2010 03:52 AM
Migrate unix version 8 to version 9 lsy Solaris 2 09-16-2008 01:00 AM
GCC version problem mugdha Red Hat 0 08-01-2008 03:04 AM



All times are GMT -4. The time now is 07:26 PM.