- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: SSH1 (openssh) to SSH2 (f-Secure) - PKI?
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
Discussions
Discussions
Discussions
Forums
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
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
тАО05-15-2005 11:24 PM
тАО05-15-2005 11:24 PM
I have 2 servers. 1 with the HP SSH tool (openssh) and one with the f-secure version. I can get PK logins from the ssh1 to ssh2 by generating my key, running ssh-keygen -e -f public.key and then importing this onto the ssh2 server. However, I cannot do the opposite to allow ssh2 to connect to ssh1 with the same conversion process. Anyone have any ideas - can this be done?
Cheers,
Tony
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2005 01:42 AM
тАО05-16-2005 01:42 AM
Re: SSH1 (openssh) to SSH2 (f-Secure) - PKI?
I used ssh-keygen on the target box (openssh) to convert their pub-key from SSH to OpenSSH. This will add any new public keys to the authorized_keys file:
# ssh-keygen -f the_fsecure_id.pub -i >> .ssh/authorized_keys
Once this was done, my customer was able to connect using pubkey authentication.
Hope this helps,
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2005 02:21 AM
тАО05-16-2005 02:21 AM
Re: SSH1 (openssh) to SSH2 (f-Secure) - PKI?
Cheers,
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2005 02:40 AM
тАО05-16-2005 02:40 AM
Re: SSH1 (openssh) to SSH2 (f-Secure) - PKI?
It might also help if you could post the "ssh -vvv" debug output for these problems you're seeing.
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2005 02:44 AM
тАО05-16-2005 02:44 AM
Re: SSH1 (openssh) to SSH2 (f-Secure) - PKI?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2005 02:47 AM
тАО05-16-2005 02:47 AM
Re: SSH1 (openssh) to SSH2 (f-Secure) - PKI?
debug: Connecting to bskysxe, port 22... (SOCKS not used)
debug: Ssh2Transport/trcommon.c:3753: My version: SSH-1.99-3.2.9 F-SECURE SSH 3.3.0
debug: client supports 3 auth methods: 'publickey,keyboard-interactive,password'
debug: Ssh2Common/sshcommon.c:587: local ip = 192.168.3.14, local port = 49751
debug: Ssh2Common/sshcommon.c:589: remote ip = 172.20.115.225, remote port = 22
debug: SshConnection/sshconn.c:1945: Wrapping...
debug: SshReadLine/sshreadline.c:2185: Initializing ReadLine...
debug: Remote version: SSH-2.0-OpenSSH_3.8
debug: OpenSSH: Major: 3 Minor: 8 Revision: 0
debug: Ssh2Transport/trcommon.c:972: All versions of OpenSSH handle kex guesses incorrectly.
debug: Ssh2Transport/trcommon.c:1376: lang s to c: `', lang c to s: `'
debug: Ssh2Transport/trcommon.c:1441: c_to_s: cipher aes128-cbc, mac hmac-sha1, compression none
debug: Ssh2Transport/trcommon.c:1444: s_to_c: cipher aes128-cbc, mac hmac-sha1, compression none
debug: Remote host key found from database.
debug: Ssh2Common/sshcommon.c:379: Received SSH_CROSS_STARTUP packet from connection protocol.
debug: Ssh2Common/sshcommon.c:429: Received SSH_CROSS_ALGORITHMS packet from connection protocol.
debug: server offers auth methods 'publickey,password,keyboard-interactive'.
debug: Ssh2AuthPubKeyClient/authc-pubkey.c:1818: Starting pubkey auth...
debug: Ssh2AuthPubKeyClient/authc-pubkey.c:1775: Agent is not running.
debug: Ssh2AuthPubKeyClient/authc-pubkey.c:1573: Got 0 keys from the agent.
debug: Ssh2AuthPubKeyClient/authc-pubkey.c:1689: adding keyfile "/home/user/.ssh2/user@host" to candidates
debug: Ssh2AuthPubKeyClient/authc-pubkey.c:1553: Trying 1 key candidates.
debug: server offers auth methods 'publickey,password,keyboard-interactive'.
debug: Ssh2AuthPubKeyClient/authc-pubkey.c:998: All keys declined by server, disabling method.
debug: Ssh2AuthClient/sshauthc.c:318: Method 'publickey' disabled.
debug: server offers auth methods 'publickey,password,keyboard-interactive'.
debug: Ssh2AuthKbdInteractiveClient/authc-kbd-interactive.c:342: Starting kbd-int auth...
Keyboard-interactive:
Password:
Received signal 2. (no core)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2005 03:05 AM
тАО05-16-2005 03:05 AM
Re: SSH1 (openssh) to SSH2 (f-Secure) - PKI?
"All keys declined by server, disabling method.
debug: Ssh2AuthClient/sshauthc.c:318: Method 'publickey' disabled."
So that's telling us whatever pub keys it's presenting the target, aren't in the targets authorized_keys file. Too bad I'm not more familiar w/ F-Secure's SSH... but w/ OpenSSH the -i option can be used to specify the pub_key to use for authentication. Refer the man ssh on the f-secure box to checkout the syntax to see what options are used to specify identity file. w/ OpenSSH pub keys can also be added to the user's ~/.ssh/ssh_config file so they don't have to use the -i option for pubkeys. man ssh_config for details.
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2005 07:20 PM
тАО05-17-2005 07:20 PM
Re: SSH1 (openssh) to SSH2 (f-Secure) - PKI?
Cheers,
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2005 10:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2005 06:58 PM
тАО07-18-2005 06:58 PM