Upgrading CopSSH 1.4.5 to 3.0.2

5 posts / 0 new
Last post
whiskersruffles
Offline
Last seen: 9 years 3 months ago
Joined: 18.12.2009 - 08:59
Upgrading CopSSH 1.4.5 to 3.0.2

Hi,

I would like to upgrade CopSSH from version 1.4.5 to 3.0.2. I wish to ssh from a linux machine to this Windows machine. But I've encountered a problem.

I did an uninstallation of CopSSH version 1.4.5 by clicking on Control Panel -> Add / Remove Programs -> CopSSH (Remove only).

After which I double clicked on CopSSH 3.0.2 installer. Like what is mentioned in the following thread /content/copssh-410-win-xp-cannot-start-ssh-session, upon the first attempt of activating a user, the list of users could not be populated due to the absence of the two files, group and passwd in "~\copSSH\etc". A re-installation was done in order for the files to be generated.

When the user was finally activated, an attempt of creating a ssh session from a linux box was initiated and it complained that connection was refused. So I thought the OpenSSHD service might not be running in the first place. Also, I realised that on Windows machine, the uninstallation was not entirely "clean". The path to executable in Windows Services still pointed to the path in version 1.4.5 which a manual change of path was done to resolve the error.

Finally, when I did the change of path (to point to ICW\Bin instead), change of SvcCopSSH user account log in name and password (to resolve logon failure error), I attempted to start the OpenSSHD service but to no avail. Checked out the sshd-stderr.log and it says "Privilege separation user sshd does not exist". When I checked back in /etc/passwd, there is already a user sshd. Why does the error still occur? How can I resolve this?

Thanks in advance.

itefix
Offline
Last seen: 19 min 52 sec ago
Joined: 01.05.2008 - 21:33
Well, both versions are quite

Well, both versions are quite old. What you can do is to uninstall version 1.4.5, remove the service account and remnants of the installation directory manually and install version 3 as a fresh installation.

skygeek83
I am new to copSSH also.. I

I am new to copSSH also.. I like to ask how do remove the service account. Is it in the Windows System registry or something?

I am new to this so advice from fellow forumers here would be deeply appreciated:-)

itefix
Offline
Last seen: 19 min 52 sec ago
Joined: 01.05.2008 - 21:33
Open a DOS prompt window and

Open a DOS prompt window and run the following command:

 

net user SvcCopssh /DELETE

whiskersruffles
Offline
Last seen: 9 years 3 months ago
Joined: 18.12.2009 - 08:59
Hi,I uninstalled version

Hi,

I uninstalled version 1.4.5 with the following steps taken:

- Go to Control Panel and remove CopSSH

- Go to C:\Program Files\ and deleted the CopSSH folder

- Go to Control Panel and remove svcCopSSH user account.

I decided to just try installing back CopSSH version 1.4.5 again and the display showed that I have a previous version 1.4.5 installed, an upgrade will be performed. I still clicked Next anyway. Finally it showed that OpenSSHD service cannot be started due to logon failure, which I presume it was due to me deleting the SvcCopSSH user account previously.

What should I do to get version 1.4.5 back again?

Thanks in advance.