Cannot log in to CopSSH

8 posts / 0 new
Last post
Trippynet
Offline
Last seen: 8 years 10 months ago
Joined: 05.01.2011 - 13:05
Cannot log in to CopSSH

Hello, I've just installed CopSSH 4.0.2 onto a Windows 7 Professional x32 PC. This PC is not a domain member. I have then created a local account called "remote" and have activated this account via the CopSSH control panel. This shows up correctly as "[PCName]\remote" in the list.

However, I simply cannot connect to this account using PuTTY on a second PC (Windows XP Pro x32). It connects to the SSH server fine, prompts for the username and password, but always returns "access denied".

Furthermore, the CopSSH log shows the following:

2011.01.05 12:03:43 -  Received disconnect from [IP address]: 13: Unable to authenticate
2011.01.05 12:03:42 -  Failed password for invalid user remote from [IP address] port 3810 ssh2
2011.01.05 12:03:40 -  Failed password for invalid user remote from [IP address] port 3810 ssh2
2011.01.05 12:03:38 -  input_userauth_request: invalid user remote
2011.01.05 12:03:38 -  Invalid user remote from [IP address]

I've also tried using "[PCName]\remote" as the username in PuTTY, but this also fails and the event log states:

2011.01.05 12:06:06 -  input_userauth_request: invalid user [PCName]\\remote
2011.01.05 12:06:06 -  Invalid user [PCName]\\remote from [IP Address]

So, any suggestions as to how I can get PuTTY and CopSSH to play nicely together? Thanks in advance!

itefix
Offline
Last seen: 4 hours 24 min ago
Joined: 01.05.2008 - 21:33
Can you send files

Can you send files sshd_config and copsshcp.config via the contact form ?

ncostes
Offline
Last seen: 8 years 10 months ago
Joined: 11.01.2011 - 16:56
I have exactly the same issue

Windows 7 Ultimate 64-bit, was using MobaSSH as server and putty as client on a remote machine to tunnel some ports. I tried switching to copssh as it is more configurable. Moba works fine but doesn't require the domain to be specified. On copssh I get the same error - invalid user. Maybe it is the '\' handling in the user names?

 

I've only tried it with putty as the client on windows.

itefix
Offline
Last seen: 4 hours 24 min ago
Joined: 01.05.2008 - 21:33
The problem is Windows User

The problem is Windows User Account Control (enabled by default). Copssh is not UAC-aware at the moment. When UAC is on, All files created in the protected folders are actually saved in a VirtualStore folder in user's APPDATA directory ( a kind of sandbox).

You need to disable UAC to be able to use Copssh. I will introduce UAC-awareness in the coming versions.

 

Trippynet
Offline
Last seen: 8 years 10 months ago
Joined: 05.01.2011 - 13:05
Hello, thanks for your

Hello, thanks for your replies. Disabling UAC and then re-adding the "remote" user has fixed it and CopSSH is now working perfectly.

Many thanks!

whitty
Offline
Last seen: 8 years 9 months ago
Joined: 31.01.2011 - 01:20
Can you clarify here

I'm experiencing the same symptoms. 

Does "disabling UAC" (win7) refer to "Change User Account Control Settings" in the control-panel.  The slider is all the way to the bottom (never notify). Is this what you mean by disabled?  I can't see anything more "disably" :-p than that.  Does UAC need to be disabled during installation? Just configuration of a new user? Entire server run-time?

If "slider down" is correct then for me all operations from installation starting service and adding the domain-user were performed with UAC disabled.  So I guess I've got other problems.

The protected folders you are referring to - are they the ones in

"c:\Program Files (x86)\ICW\home\"

?  Can I verify that these are created as required (not in the VirtualStore?) 

itefix
Offline
Last seen: 4 hours 24 min ago
Joined: 01.05.2008 - 21:33
UAC must be off before

UAC must be off before installation. "Slider down" is correct to turn it off.

Bruzer
Offline
Last seen: 8 years 9 months ago
Joined: 05.02.2011 - 20:45
I have Windows 7 Professional

I have Windows 7 Professional 64-bit, and I also was having problems connecting to CopSSH from Putty. I tried several things, but in the end, here's what worked for me:

1. Install CopSSH (my version is 4.0.4) by right-clicking on the installation .exe file and select "Run as administrator"

2.Once installed, select "01. COPSSH Control Panel" from the All Programs menu, but right-click on that and select "Run as administrator".

I think this was key because once I completed the steps for adding the user, I could see that it correctly created the user account under C:/Program Files (x86)/ICW/home/<user>. In my previous attempts, it created the account under C:/Users/<user>/AppData/Local/VirtualStore/Program Files (x86)/ICW/home/<user>.

Note that I didn't change the UAC level either before or after the install and I'm able to connect now just fine with Putty.