Sponsored Content
Top Forums UNIX for Advanced & Expert Users SSH2 Authentication with OpenSsh Post 302127198 by jazjit on Monday 16th of July 2007 03:48:38 PM
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
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
rpcdebug(8)						      System Manager's Manual						       rpcdebug(8)

NAME
rpcdebug - set and clear NFS and RPC kernel debug flags SYNOPSIS
rpcdebug -vh rpcdebug -m module rpcdebug -m module -s flags... rpcdebug -m module -c flags... DESCRIPTION
The rpcdebug command allows an administrator to set and clear the Linux kernel's NFS client and server debug flags. Setting these flags causes the kernel to emit messages to the system log in response to NFS activity; this is typically useful when debugging NFS problems. The first form in the synopsis can be used to list all available debug flags. The second form shows the currently set debug flags for the given module. The third form sets one or more flags, and the fourth form clears one or more flags. The value all may be used to set or clear all the flags for the given module. OPTIONS
-c Clear the given debug flags. -h Print a help message and exit. When combined with the -v option, also prints the available debug flags. -m module Specify which module's flags to set or clear. Available modules are: nfsd The NFS server. nfs The NFS client. nlm The Network Lock Manager, in either an NFS client or server. rpc The Remote Procedure Call module, in either an NFS client or server. -s Set the given debug flags. -v Increase the verbosity of rpcdebug's output. FILES
/proc/sys/sunrpc/{rpc,nfs,nfsd,nlm}_debug procfs-based interface to kernel debug flags. SEE ALSO
rpc.nfsd(8), nfs(5), syslogd(8). BUGS
Bugs can be found or reported at http://nfs.sf.net/. AUTHOR
Program by Olaf Kirch <okir@suse.de> and <frederic.jolly@bull.ext.net>. Manpage by Greg Banks <gnb@melbourne.sgi.com>. 5 Jul 2006 rpcdebug(8)
All times are GMT -4. The time now is 08:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy