Error "Parsing problems during import operation.Operation cancelled." when importing an rsa public key in CopSSG control center

5 posts / 0 new
Last post
license_admin
Offline
Last seen: 2 years 10 months ago
Joined: 17.01.2012 - 14:54
Error "Parsing problems during import operation.Operation cancelled." when importing an rsa public key in CopSSG control center

Hi,

I'm having a hard time trying to import public keys into CopSSH and hope that someone has an idea how to fix this. There are 2 hosts involved:

cdgenp08 ist the W2k3 R2 SP server with CopSSH 4.2.2

cdlogp11 is a Linux server

I want to scp files between both hosts. In this regard, cdlogp11 should be able to logon into cdgenp08 without delivering a password.

I retrieved cdlogp11's public key by issuing "ssh-keyscan.exe -4 cdlogp11 > KEYFILE" on cdgenp08. The content of KEYFILE looks like this:

cdlogp11 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAwLvGplsSFBChK1X/Y6cVQnfPe9M5IcN4LdO
6jyVNMPJF+GjwxQkkfDQVxponawR6D0cECgUIHKwVd5v7Wbi5Gd04W3F3K16eox7oDuAr19+up12ITGQ
tOXp2/yDGb83QLfUoJDWEBkRJxROp3dU7mue7uW7DHGMmjAJTJUdVSdVec+gfcvREgxQOGnx1sL+wBmq
xWaDI3rUZp0Z2m987WRATRe6ZhODDkTIN1V5A6cgm+1CIrLx2BpMA7KdI1+rdBU7/YMM/pr0mkXCYjq4
LgnI5WMDfRT51TDPk+01RAsXBfZ3wHmV6oF2G35wm4CPmUSNlxMu3lXEVszl1ox709Q==

I then removed the leading "cdlogp11" and the space behind it and cut and paste the result into CopSSH's control panel tab <USERS> user <CDGENP08\syslogtransfer><Keys><Import>. As a result, I get an error message "Parsing problems during import operation.Operation cancelled.".

Does anybody has an idea why this operation fails ?

 

 

license_admin
Offline
Last seen: 2 years 10 months ago
Joined: 17.01.2012 - 14:54
  thanks for your help, it

 

thanks for your help, it works now. Apparently you really have to add some comment like „root@cdlogp11“ (without the quotes) to the key for CopSSH to accept it.

 

Shepperdg
Offline
Last seen: 6 years 4 months ago
Joined: 17.05.2013 - 17:39
Does it look like

Does it look like this?

ssh-rsa„root@cdlogp11
AAAAB3NzaC1yc2EAAAABIwAAAQEAwLvGplsSFBChK1X/Y6cVQnfPe9M5IcN4LdO
6jyVNMPJF+GjwxQkkfDQVxponawR6D0cECgUIHKwVd5v7Wbi5Gd04W3F3K16eox7oDuAr19+up12ITGQ
tOXp2/yDGb83QLfUoJDWEBkRJxROp3dU7mue7uW7DHGMmjAJTJUdVSdVec+gfcvREgxQOGnx1sL+wBmq
xWaDI3rUZp0Z2m987WRATRe6ZhODDkTIN1V5A6cgm+1CIrLx2BpMA7KdI1+rdBU7/YMM/pr0mkXCYjq4
LgnI5WMDfRT51TDPk+01RAsXBfZ3wHmV6oF2G35wm4CPmUSNlxMu3lXEVszl1ox709Q==

 

Or like this

AAAAB3NzaC1yc2EAAAABIwAAAQEAwLvGplsSFBChK1X/Y6cVQnfPe9M5IcN4LdO
6jyVNMPJF+GjwxQkkfDQVxponawR6D0cECgUIHKwVd5v7Wbi5Gd04W3F3K16eox7oDuAr19+up12ITGQ
tOXp2/yDGb83QLfUoJDWEBkRJxROp3dU7mue7uW7DHGMmjAJTJUdVSdVec+gfcvREgxQOGnx1sL+wBmq
xWaDI3rUZp0Z2m987WRATRe6ZhODDkTIN1V5A6cgm+1CIrLx2BpMA7KdI1+rdBU7/YMM/pr0mkXCYjq4
LgnI5WMDfRT51TDPk+01RAsXBfZ3wHmV6oF2G35wm4CPmUSNlxMu3lXEVszl1ox709Q==
ssh-rsa„root@cdlogp11

 

having the same issue.

 

and i am new to Copssh....so any help would be appreciated.

-Shepperd

 

ap
Offline
Last seen: 5 years 1 month ago
Joined: 03.08.2015 - 18:28
having same issue, where

having same issue, where should I put comment

itefix
Offline
Last seen: 15 hours 8 min ago
Joined: 01.05.2008 - 21:33
The OpenSSH public key format

The OpenSSH public key format is fully documented RFC 4253. Briefly, an OpenSSH public key consists of three fields:

  • The key type
  • A chunk of PEM-encoded data
  • A comment

Example:

ssh-rsa ABC..........DEF comment