ssh version 1 problem please help


 
Thread Tools Search this Thread
Special Forums IP Networking ssh version 1 problem please help
# 1  
Old 12-15-2011
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?



Smilie

Last edited by llcooljatt; 12-15-2011 at 02:19 PM..
# 2  
Old 12-16-2011
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 !
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Debian

Debian 7.2 Samba version 3.6.6 Windows 8 Excel 2013 Problem

Hi Guys I have been trying to solve this problem for some time now and i'm just not getting to the bottom of it. I have a 3 user network with Windows 8 64bit pro and Office 2013 home and business. The Excel files are beeing shared by a Debian Samba server. Debian 7.2 Running Samba 3.6.6. The... (1 Reply)
Discussion started by: linuxjunkie
1 Replies

2. Cybersecurity

Disable SSH 1.99 version?

Hello. My security audit reconise SSH 1.99 protocol version allowed. But in my sshd_config config is only: SSH version: How can I disable support for ssh protocol 1.99 version? (1 Reply)
Discussion started by: jabalv
1 Replies

3. AIX

SSH Protocol Version 1

SSH Protocol Version 1 Session Key Retrieval Disable compatibility with version 1 of the protocol can any one advice in this regard and how can I Disable compatibility with version 1 of the protocol Pls advice .. (2 Replies)
Discussion started by: Mr.AIX
2 Replies

4. UNIX for Dummies Questions & Answers

a problem with write a script in Linux version 2.4.27-ubnt0

Hello everyone, I have a radio wireless called UBNT Nanostation5 It has this linux OS:Linux version 2.4.27-ubnt0 When i want to write a script in ssh, i get some errors The script is: ifconfig eth0 down ifconfig eth0 hw ether 00:15:6D:**:**:** ifconfig eth0 up cfg -x echo... (1 Reply)
Discussion started by: cygol
1 Replies

5. UNIX for Dummies Questions & Answers

SSH version of rlogin (ie without password prompt)

I have 3 Solaris 10 UNIX servers, the shadow and passwd file are all identical and are automatically sync every 5 minutes. A majority of the users do not have CLI access but rather use a menu. I currently have menu options that allows them to rlogin to another server and I need to have the... (1 Reply)
Discussion started by: creedonjm
1 Replies

6. HP-UX

%Internal DCE Threads problem (version CMA BL10+)

Hi, I have a module by the name gateway, and it core dumps and gives a cma_dump.log file which says: %Internal DCE Threads problem (version CMA BL10+), terminating execution. % Reason: dispatch: no available VP (uniprocessor) The current thread is 3 (address 0x40107c40) DECthreads... (0 Replies)
Discussion started by: vanz
0 Replies

7. Red Hat

GCC version problem

I have a host PC and a target system . Host System -> gcc (3.2) Redhat linux kernel 2.4.20-8 , glibc 2.3 Target System -> gcc (4.1) Fedora linux kernel 2.6.18-1.2798.fc6, glibc 2.5 I would like to build test program that can be run on both systems --------------------------- ... (0 Replies)
Discussion started by: mugdha
0 Replies

8. Solaris

How to hide SSH version

I just been audited and one the recommendations is to hide the SSH version or give fake information. I went to openssh.com they don't seem to have any info on how to fix this :confused: Anybody knows how the heck can I hide the SSH version? The part which says # telnet localhost 22... (19 Replies)
Discussion started by: sparcguy
19 Replies

9. Solaris

command to know ssh version

Hi, I want to know the command to know ssh version on solaris (1 Reply)
Discussion started by: manoj.solaris
1 Replies

10. Solaris

ssh version

Which version of SSH is this ssh -V SSH Version Sun_SSH_1.0, protocol versions 1.5/2.0. (2 Replies)
Discussion started by: csaunders
2 Replies
Login or Register to Ask a Question