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 ?
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.
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
having same issue, where should I put comment
The OpenSSH public key format is fully documented RFC 4253. Briefly, an OpenSSH public key consists of three fields:
Example:
ssh-rsa ABC..........DEF comment