SSH2 Authentication with OpenSsh


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users SSH2 Authentication with OpenSsh
# 1  
Old 07-16-2007
SSH2 Authentication with OpenSsh

Hi Can anyone help resolving the issue here?

I am trying to connect from one unix server(ssh2) to another unix server using (Openssh).

I converted the public key from ssh2 to openssh format and uploaded it. Yet it is asking for a password to connect.

Here is the debug info:

killer:/apps/users/lawson> ssh -v -v xyz@xyz.com
debug: SshAppCommon/sshappcommon.c:133/ssh_app_get_global_regex_context: Allocating global SshRegex context.

debug: SshConfig/sshconfig.c:2232/ssh2_parse_config: Unable to open /apps/users/lawson/.ssh2/ssh2_config

debug: Connecting to xyz.com, port 22... (SOCKS not used)

debug: Ssh2/ssh2.c:1977/main: Entering event loop.

debug: Ssh2Client/sshclient.c:1403/ssh_client_wrap: Creating

debug: SshAuthMethodClient/sshauthmethodc.c:85/ssh_client_authentication_initialize: Added "publickey" to usable methods.

debug: SshAuthMethodClient/sshauthmethodc.c:85/ssh_client_authentication_initialize: Added "password" to usable methods.

debug: Ssh2Client/sshclient.c:1444/ssh_client_wrap: Creating userauth protocol.

debug: client supports 2 auth methods: 'publickey,password'

debug: Ssh2Common/sshcommon.c:560/ssh_common_wrap: local ip = xxx.xx.xx.xx, local port = 44291

debug: Ssh2Common/sshcommon.c:562/ssh_common_wrap: remote ip = xxx.xx.xx.xx, remote port = 22

debug: SshConnection/sshconn.c:1930/ssh_conn_wrap: Wrapping...

debug: Remote version: SSH-2.0-OpenSSH_4.4p1-hpn12v11

debug: Ssh2Transport/trcommon.c:1306/ssh_tr_input_version: Remote version has rekey incompatibility bug.

debug: Ssh2Transport/trcommon.c:1309/ssh_tr_input_version: Remote version is OpenSSH, KEX guesses disabled.

debug: Ssh2Transport/trcommon.c:1648/ssh_tr_negotiate: lang s to c: `', lang c to s: `'

debug: Ssh2Transport/trcommon.c:1714/ssh_tr_negotiate: c_to_s: cipher aes128-cbc, mac hmac-sha1, compression none

debug: Ssh2Transport/trcommon.c:1717/ssh_tr_negotiate: s_to_c: cipher aes128-cbc, mac hmac-sha1, compression none

debug: Remote host key found from database.

debug: Ssh2Common/sshcommon.c:318/ssh_common_special: Received SSH_CROSS_STARTUP packet from connection protocol.

debug: Ssh2Common/sshcommon.c:368/ssh_common_special: Received SSH_CROSS_ALGORITHMS packet from connection protocol.

debug: server offers auth methods 'publickey,password'.

debug: Ssh2AuthPubKeyClient/authc-pubkey.c:1536/ssh_client_auth_pubkey_add_file_keys: adding keyfile "/apps/users/lawson/.ssh2/id_dsa_1024_a" to candidates

debug: server offers auth methods 'publickey,password'.

debug: Ssh2AuthClient/sshauthc.c:316/ssh_authc_completion_proc: Method 'publickey' disabled.

debug: server offers auth methods 'publickey,password'.

debug: Ssh2AuthPasswdClient/authc-passwd.c:95/ssh_client_auth_passwd: Starting password query...

Thanks & Regards,
Jasjit
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

SFTP from SSH2 to SSH

Hi, Earlier, I have configured SFTP successfully in my prev jobs. This time I have to configure SFTP for local server (uses SSH2) and remote server (uses SSH). I tried to search the forum. I did not find the right thread. I appreciate your help. The following is the additional info >... (5 Replies)
Discussion started by: bobbygsk
5 Replies

2. Shell Programming and Scripting

Using SSH2 in windows

I have Windows server setups consisting two servers to work on. I have to run a batch file on server 2 (say, Batch2) by running a batch file on server 1 (Say, Batch1). We have Tectia SSH server-client setup. Could anyone please tell the script/code for Batch1? (1 Reply)
Discussion started by: sakha83
1 Replies

3. Shell Programming and Scripting

ssh2-keygen trust issue

I have two systems SysA & SysB having the same userid sharing the home directory via NFS mount. I need to know the steps to setup ssh trust between these two systems given that both share the home dir. I have tried all the steps to generate the keys & then creating identification &... (2 Replies)
Discussion started by: deo_kaustubh
2 Replies

4. UNIX for Dummies Questions & Answers

can we run ssh2 in background

Hi, I was trying to run ssh2 command in background... but i got follwoing error message saying that process has been stopped.. + Stopped(SIGTTOU) Anyone have any idea about this??? Appreciated your help.. (3 Replies)
Discussion started by: pvamsikr
3 Replies

5. UNIX for Dummies Questions & Answers

ssh1 ssh2 how to tell which version i have?

upon entering the command:ssh -v I get this:OpenSSH_4.4p1, OpenSSL 0.9.8d 28 Sep 2006 how do i identify whether or not i have ssh1 or ssh2? thanks in advance (10 Replies)
Discussion started by: EWTGPAC
10 Replies

6. Cybersecurity

openssh to ssh2 interoperability

I have openssh identity and identity.pub which work well on many machines to uniquely identify myself. I want to put these on a host (Tru64) using ssh2. I can convert the public key to ssh2 format using "ssh-keygen -e" on an openssh box. How should I convert the private key? (2 Replies)
Discussion started by: porter
2 Replies

7. UNIX for Dummies Questions & Answers

ssh2 & sftp help

Hi, I need to implement sftp between server 1 and server2. I have already generated the public key using account user1 on server 1 and and sent it to the administrator of server2. I have also finished updating the identification file at /home/user1/.ssh2 I have an account created... (11 Replies)
Discussion started by: tansha
11 Replies

8. AIX

SSH2 help !!!!

Hi, I need to implement sftp between server 1 and server2. I have already generated the public key using account user1 on server 1 and and sent it to the administrator of server2. I have also finished updating the identification file at /home/user1/.ssh2 I have an account created... (2 Replies)
Discussion started by: tansha
2 Replies

9. Shell Programming and Scripting

Can't Delete File using ssh2

hi, i am getting error while executing the follwoing command. /usr/local/bin/ssh2 user@hostname find /test/DeleteFile -mtime +10 -exec rm {} \; error is : find: 0652-018 An expression term lacks a required parameter. it is deleting the files from the specified location. it is working... (2 Replies)
Discussion started by: Sunil Rajput
2 Replies

10. UNIX for Dummies Questions & Answers

ssh2 troubles

I'm trying to set up a secure and trusted connection between 2 boxes running solaris using ssh2. I've run ssh-keygen2 on the local box and on the remote box, created the identification file ( IdKey id_dsa_2048_a ) on the local machine and copied across the public key file from the local to... (5 Replies)
Discussion started by: PaulC
5 Replies
Login or Register to Ask a Question