Sponsored Content
Top Forums UNIX for Dummies Questions & Answers OpenSSH incompatibility with Sun SSH ?? Post 302307432 by EWTGPAC on Wednesday 15th of April 2009 10:31:56 AM
Old 04-15-2009
Ok, sorry for the delay, took awhile to get to the other guy.

here is the error he gets:

OpenSSH_3.7.1p2, SSH protocols 1.5/2.0, OpenSSL 0.9.6g 9 Aug 2002
Debug1: Reading configureation data /usr/local/etc/ssh_config
Debug2: ssh_connect: needpriv 0
Debug1: Connecting to xxx.xxx.xxx.xxx [xxx.xxx.xxx.xxx] port xx
Debug1: Connection Established.
Debug2: key_type_from_name: unknown key type '1024'
Debug1: identity file /export/home/sysadmin/.ssh/identity type -1
Debug2: key-type_from_name: unknown key type '----begin'
Debug1: identity file /export/home/sysadmin/.ssh/id_rsa type 1
Debug2: key_type_from_name: unknown key type '----begin'
Debug1: identity file /export/home/sysadmin/.ssh/id_dsa type 2
Ssh_exchange_identification: Conneciton closed by remote host
Debug1: Calling cleanup 0x3c0cc(0x0)


Ok, we already know that the cause of the unknown keytype '----begin' is because the prefixs we have in our keys, if we remove them, we don't get the error. (not sure y they are there in the first place??)

Also we know that the unknown 1024 is because we don't have an identity file for the user. (no problem for us, as the identity is only used for ssh protocol 1, which we cannot use)

We believe that we just need to get our rsa and dsa keys to match (copy mine into his, or vice versa) to get it to work.

anyone else have some imput on this??

thanks again.

Last edited by EWTGPAC; 04-15-2009 at 11:59 AM..
 

10 More Discussions You Might Find Interesting

1. Cybersecurity

commercial SSH vs. OpenSSH

I'm not sure if this is appropriate for the forum, but I figured it was security related, so here goes... I'm writing an anlaysis for my group about moving some of the old internet protocols (rsh, rlogin, etc...) to the SSH suite of tools. An outside security group recommended a commercial... (7 Replies)
Discussion started by: jalburger
7 Replies

2. Solaris

password less login from openssh to SSH Secure Shell 3.0.1 Sun solaris 7

Hi, I would like to login from a Sun server running ssh: Sun_SSH_1.1, SSH protocols 1.5/2.0, OpenSSL 0x0090704f to ssh: SSH Secure Shell 3.0.1 on sparc-sun-solaris2.6 How can I achieve this? Thanks a million in advance (1 Reply)
Discussion started by: newbewie
1 Replies

3. Programming

Incompatibility an old c and gcc 4.3.1.urgency plz

I couldn't compile this code in gcc (SUSE Linux) 4.3.1 20080507. got me these! sniffer.c: In function ‘int CreateRawSocket(int)': sniffer.c:16: error: ‘htons' was not declared in this scope sniffer.c: In function ‘int BindRawSocketToInterface(char*, int, int)': sniffer.c:31: error: ‘bzero'... (2 Replies)
Discussion started by: galaxy.ice
2 Replies

4. UNIX for Dummies Questions & Answers

Fickle ssh connection with OpenSSH on FreeBSD 7.0

I have a FreeBSD server on my home network. It is hooked to the router with an Ethernet cable. Both the server and the router are in the basement. The other computers in the house are upstairs, wireless. So the server's local IP address is set outside the wireless pool, and suppose it's... (1 Reply)
Discussion started by: gabi
1 Replies

5. Solaris

Solaris 9, ssh and openssh

I set the RETRIES and DISABLETIME in /etc/default/login on 2 systems: - 1 Solaris 9 system running Sun SSH - 1 Solaris 9 system running Openssh 5.2 P1 I expected that after n failed logins, the login process will hang for n seconds. It does when the attempted login is done at the console... (8 Replies)
Discussion started by: jabentay
8 Replies

6. Solaris

Please help me.. connection failed between OpenSSH-3.8.1 to Sun SSH-1.1

hi All, We tried to establish a connection from OpenSSH3.8.1 running on Windows Box to SunSSH-1.1 running on Solaris 10. Please see the debug statements. C:\Documents and Settings\sadmin\.ssh>ssh sadmin@10.4.3.8 -v -v -v OpenSSH_3.8.1p1, OpenSSL 0.9.7d 17 Mar 2004 debug1: Reading... (2 Replies)
Discussion started by: venusunil
2 Replies

7. UNIX for Advanced & Expert Users

SFTP Jail With Sun SSH Not OpenSSH

Hi all, I have a Solaris 10 server with SUN_SSH_1.1 installed. I want to restrict a user via SFTP to only be able to access one directory. I've written a little script in .profile which works perfectly for an ssh login but it appears sftp doesn't read the .profile file so it doesn't work. ... (2 Replies)
Discussion started by: Donkey25
2 Replies

8. Solaris

Sun is not able to ssh another machine of sun

My one Sun machine is not able to ssh another machine of Sun. Although I have configured the ssh successfully ( SunOS sunbox2 5.9 Generic_118558-34 sun4u sparc SUNW,Sun-Blade-2500 ) ERROR bash-2.05# ssh sunbox2 /etc/ssh/ssh_config: line 34: Bad configuration option: PermitRootLogin... (0 Replies)
Discussion started by: z_haseeb
0 Replies

9. Solaris

what is the difference between openssh and ssh package installed with Solaris box

which should i prefer to install in my system openssh or ssh package provided by SUN by default. can i have two packages installed at the same time? (2 Replies)
Discussion started by: chidori
2 Replies

10. Red Hat

Vulnerability with ssh in OpenSSH in an RHEL installation

There was a security analysis run on one server which has RHEL 5.8 installed and it is showing security vulnerabilities with respect to ssh in OpenSSH with reference no CVE-2007-4752. The vulnerability solution in the security report is showing solution as below: 1) Download and apply the... (3 Replies)
Discussion started by: RHCE
3 Replies
SSH-ARGV0(1)                                                BSD General Commands Manual                                               SSH-ARGV0(1)

NAME
ssh-argv0 -- replaces the old ssh command-name as hostname handling SYNOPSIS
hostname | user@hostname [-l login_name] [command] hostname | user@hostname [-afgknqstvxACNTX1246] [-b bind_address] [-c cipher_spec] [-e escape_char] [-i identity_file] [-l login_name] [-m mac_spec] [-o option] [-p port] [-F configfile] [-L port:host:hostport] [-R port:host:hostport] [-D port] [command] DESCRIPTION
ssh-argv0 replaces the old ssh command-name as hostname handling. If you link to this script with a hostname then executing the link is equivalent to having executed ssh with that hostname as an argument. All other arguments are passed to ssh and will be processed normally. OPTIONS
See ssh(1). FILES
See ssh(1). AUTHORS
OpenSSH is a derivative of the original and free ssh 1.2.12 release by Tatu Ylonen. Aaron Campbell, Bob Beck, Markus Friedl, Niels Provos, Theo de Raadt and Dug Song removed many bugs, re-added newer features and created OpenSSH. Markus Friedl contributed the support for SSH protocol versions 1.5 and 2.0. Jonathan Amery wrote this ssh-argv0 script and the associated documentation. SEE ALSO
ssh(1) Debian Project September 7, 2001 Debian Project
All times are GMT -4. The time now is 05:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy