- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: SSH Key based authentication Issues
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 12:19 AM
09-06-2005 12:19 AM
ssh -v ssh_test@svmp01
debug: Ssh2/SSH2.C:1847: CRTL version (SYS$SHARE:DECC$SHR.EXE ident) is V7.3-2-00
debug: SshAppCommon/SSHAPPCOMMON.C:307: Allocating global SshRegex context.
debug: SshConfig/SSHCONFIG.C:3285: Metaconfig parsing stopped at line 3.
debug: SshConfig/SSHCONFIG.C:842: Setting variable 'VerboseMode' to 'FALSE'.
debug: SshConfig/SSHCONFIG.C:3285: Metaconfig parsing stopped at line 3.
debug: SshConfig/SSHCONFIG.C:842: Setting variable 'VerboseMode' to 'FALSE'.
debug: Connecting to svmp01, port 22... (SOCKS not used)
debug: Ssh2/SSH2.C:2813: Entering event loop.
debug: Ssh2Client/SSHCLIENT.C:1607: Creating transport protocol.
debug: SshAuthMethodClient/SSHAUTHMETHODC.C:99: Added "publickey" to usable methods.
debug: Ssh2Client/SSHCLIENT.C:1648: Creating userauth protocol.
debug: client supports 1 auth methods: 'publickey'
debug: SshUnixTcp/SSHUNIXTCP.C:1356: using local hostname SVMU01.aspac.citicorp.com
debug: Ssh2Common/SSHCOMMON.C:545: local ip = 163.37.135.82, local port = 56615
debug: Ssh2Common/SSHCOMMON.C:547: remote ip = 163.37.131.193, remote port = 22
debug: SshConnection/SSHCONN.C:2277: Wrapping...
debug: SshReadLine/SSHREADLINE.C:3651: Initializing ReadLine...
debug: Remote version: SSH-2.0-3.2.0 SSH Secure Shell OpenVMS V5.5
debug: Major: 3 Minor: 2 Revision: 0
debug: Ssh2Transport/TRCOMMON.C:2157: lang s to c: `', lang c to s: `'
debug: Ssh2Transport/TRCOMMON.C:2222: c_to_s: cipher aes128-cbc, mac hmac-sha1, compression none
debug: Ssh2Transport/TRCOMMON.C:2225: s_to_c: cipher aes128-cbc, mac hmac-sha1, compression none
debug: Remote host key found from database.
debug: Ssh2Common/SSHCOMMON.C:346: Received SSH_CROSS_STARTUP packet from connection protocol.
debug: Ssh2Common/SSHCOMMON.C:396: Received SSH_CROSS_ALGORITHMS packet from connection protocol.
********************************************************************************
** **
** THIS SYSTEM IS RESTRICTED! **
** **
** You are authorized to use this System for approved business **
** purposes only. Use for any other purpose prohibited. All **
** transactional records, reports, e-mail, software, and other **
** data generated by or residing upon this System are the property **
** of the Company and may be used by the Company for any purpose. **
** Authorized and unauthorized activities may be monitored. **
** **
********************************************************************************
debug: server offers auth methods 'password,publickey'.
debug: Ssh2KeyBlob/SSH2PUBKEYENCODE.C:411: Could not decode certificate file
debug: Ssh2AuthPubKeyClient/AUTHC-PUBKEY.C:1681: adding keyfile "/DISK$SGA002/ssh_test/ssh2/ID_DSA_2048_A" to candidates
debug: server offers auth methods 'password,publickey'.
debug: server offers auth methods 'password,publickey'.
debug: Ssh2AuthClient/SSHAUTHC.C:373: Method 'publickey' disabled.
debug: server offers auth methods 'password,publickey'.
debug: Ssh2Common/SSHCOMMON.C:184: DISCONNECT received: No further authentication methods available.
debug: SshReadLine/SSHREADLINE.C:3717: Uninitializing ReadLine...
warning: Authentication failed.
debug: Ssh2/SSH2.C:316: locally_generated = TRUE
Disconnected; no more authentication methods available (No further authentication methods available.).
debug: Ssh2Client/SSHCLIENT.C:1683: Destroying client.
debug: SshConfig/SSHCONFIG.C:2745: Freeing pki. (host_pki != NULL, user_pki = NULL)
debug: SshConnection/SSHCONN.C:2329: Destroying SshConn object.
debug: Ssh2Client/SSHCLIENT.C:1751: Destroying client completed.
debug: SshAuthMethodClient/SSHAUTHMETHODC.C:104: Destroying authentication method array.
debug: SshAppCommon/SSHAPPCOMMON.C:320: Freeing global SshRegex context.
debug: SshConfig/SSHCONFIG.C:2745: Freeing pki. (host_pki = NULL, user_pki = NULL)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 06:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 09:52 PM
09-06-2005 09:52 PM
Re: SSH Key based authentication Issues
You were right.I found the problem. Actually in my authorization file , I used keyword IdKey instead of KEY to identify public key. Corrected that and now its working fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2005 12:55 AM
09-24-2005 12:55 AM
Re: SSH Key based authentication Issues
since Michael obviously helped you out, would you care to reward him in Forum style?
Please read
http://www1.itrc.hp.com/service/help/forums.do#28
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2005 03:52 AM
09-26-2005 03:52 AM
Re: SSH Key based authentication Issues
For scp file transfer from vms to unix, are there special consideration to be taken. Are there some guides which explains in more detail on the same. We are trying transfer from vms to unix but it fails. I understand the way public key file is added on Unix is different from vms.Please advise
Regards
AK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2005 07:21 PM
10-03-2005 07:21 PM
Re: SSH Key based authentication Issues
Sorry for the late reply, I was away for the past week.
What error did you have when SCP from OpenVMS to unix? Do you have the output of the SCP command with debug turned on?
Thanks and regards.
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2005 08:33 PM
10-09-2005 08:33 PM
Re: SSH Key based authentication Issues
When you generate pair of key on vms server the public key format generated on vms is diffenert as one for unix platform. i.e. our public contains these extra lines
Subject: dusr_tjip
Comment: "2048-bit dsa, dusr_tjip@SVMU02.aspac.citicorp.com, Thu Oct 0\
6 2005 01:22:02"
do we need to put these lines in authorized_keys2 file on unix or we need to some formatting of public key before giving it to unix platform
Regards
Anup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2005 09:43 PM
10-09-2005 09:43 PM
Re: SSH Key based authentication Issues
>>>
do we need to put these lines in authorized_keys2 file on unix or we need to some formatting of public key before giving it to unix platform
<<<
Monst Unix' sshkeygen has an import option (-i?) for these keys which changes the format.
cu,
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2005 11:54 AM
10-10-2005 11:54 AM
Re: SSH Key based authentication Issues
I think the subject line and the comment line will be ignored.
Which favour of unix are you using?
Thanks and regards.
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2005 04:33 PM
10-10-2005 04:33 PM
Re: SSH Key based authentication Issues
The issue is resolved after we converted the key at Unix but there is one glitch we found. If we create a private-public key pair on VMS with -P option ( i.e. empty passphrase ) and then we convert that public key at remote end, it does not work. During a transfer initiation it asks for passphrase out of blue. But if you create a private-public key pair without -P option and provide blank passphrase then that public key at remote end after conversion works fine.
Thanks for you support
Cheers .. AK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2005 04:55 PM
10-10-2005 04:55 PM
Re: SSH Key based authentication Issues
It is good to know that things are working fine for you.
Thanks and regards.
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 05:06 PM
10-11-2005 05:06 PM
Re: SSH Key based authentication Issues
One query >>> whenever i initiate a client connection, its always goes and reads the ssh2_config. file from SYS$SYSDEVICE:[TCPIP$SSH.SSH2] and if it does not find the file there then it goes and reads the ssh2_config from users login directory. How we can force to read from user's login directory first and then from system area ?
Regards
Anup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 06:02 PM
10-11-2005 06:02 PM
Re: SSH Key based authentication Issues
My understanding is that the ssh2_config in sys$sysdevice:[tcpip$ssh.ssh2] has a system-wide scope while the ssh2_config in the [.ssh2] subdirectory under sys$login of the user has a user-specific scope.
The ssh client process always reads the ssh2_config from SYS$SYSDEVICE:[TCPIP$SSH.SSH2] to set up the run-time parameters for the ssh connection. Then it reads the ssh2_config from the user directory and set up any user-specific changes necessary.
Thanks and regards.
Michael