setup copssh

10 posts / 0 new
Last post
itefix
Online
Last seen: 7 min 41 sec ago
Joined: 01.05.2008 - 21:33
setup copssh

HelloI want to setup a SSH tunnel to run RDP.
I installed CopSSH and activated a user.
I downloaded BitVise tunnelier and I installed the client and was able to access the server but it keeps asking for a password.
Where on the CopSSH side do I find the password?
I activated a user but are there other parameters that need to be setup on the server end?
What if I wan't to change, let's say the password?
I generally am pretty good about finding info and being able to configure from that, but I cannot find anything on this so far.
Any help is greatly appreciated.

itefix
Online
Last seen: 7 min 41 sec ago
Joined: 01.05.2008 - 21:33
Re: setup copssh

Actually I got it working except I think I am using a null password.Can you tell me how to setup the server end if I export a user authenication Keypair?
Where do I put it and what config file do I have to edit?
Thanks in advance!

itefix
Online
Last seen: 7 min 41 sec ago
Joined: 01.05.2008 - 21:33
Re: setup copssh

I am not familiar with BitVise Tunnelier. COPSSH is an OpenSSH implementation. I suppose that BitVise has some documentation about how to connect to OpenSSH servers.

itefix
Online
Last seen: 7 min 41 sec ago
Joined: 01.05.2008 - 21:33
Re: setup copssh

Is there a better client that would have setup info that you are aware of?Thanks

itefix
Online
Last seen: 7 min 41 sec ago
Joined: 01.05.2008 - 21:33
Re: setup copssh

I have it working but I think that the login is without a password. Null password is by default when I actvate a user right?Can you tell me how to add a password to the login of the tunnel. I can handle the client side with no problems.
I assume that I have to edit sshd_config correct? If so which lines do I set? And how do I create or change the password for that user?
Can you walk me through adding a password and I will pass on trying to get the key pair to work.
I appreciate your help.

SoonerAl
Offline
Last seen: 13 years 11 months ago
Joined: 01.05.2008 - 21:33
Re: setup copssh

Does your userID that you login with have a password? On my XP Pro CopSSH server box when I activated a user after installing CopSSH I simply logged on using the activated userID and the XP password for that user. The default /etc/sshd_config file is configured for password authentication.

SoonerAl
Offline
Last seen: 13 years 11 months ago
Joined: 01.05.2008 - 21:33
Re: setup copssh

Ok...I believe this is your issue...
1. The userID you activated on the CopSSH server PC does NOT apparently have a password.

2. The default CopSSH /etc/sshd_config file explicitly prohibits logging on via SSH with a null password.

So... You can either assign a password to the userID on your CopSSH PC, which I presume is a XP Pro box since you want to do Remote Desktop to it...or...you can change the following line in the /etc/sshd_config file to allow logging on with a null password.

# To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication yes
#PermitEmptyPasswords no

...to...

PermitEmptyPasswords yes

Note the line is uncommented and the no is changed to yes. If you make that change, which is a potential security risk, then you also need to restart the Openssh SSHD service.

Its possible that after assigning a password to the userID you want to use that you may need to deactivate then activate that particular userID in order for CopSSH to pickup the change. Perhaps tev can comment on that issue.

SoonerAl
Offline
Last seen: 13 years 11 months ago
Joined: 01.05.2008 - 21:33
Re: setup copssh

It turns out the original poster was wanting to add a strong passphrase to his private/public key pair. I helped him with that on another forum, the microsoft.public.windowsxp.work_remotely news group, and he apparently has it working now with the new key pair and passphrase.

itefix
Online
Last seen: 7 min 41 sec ago
Joined: 01.05.2008 - 21:33
Re: setup copssh

Its possible that after assigning a password to the userID you want to use that you may need to deactivate then activate that particular userID in order for CopSSH to pickup the change. Perhaps tev can comment on that issue.

It shouldn't be necessary. COPSSH uses SID information in /etc/passwd to initiate windows authentication. SID value is unique to each user and is not affected by a password change.

SoonerAl
Offline
Last seen: 13 years 11 months ago
Joined: 01.05.2008 - 21:33
Re: setup copssh

Its possible that after assigning a password to the userID you want to use that you may need to deactivate then activate that particular userID in order for CopSSH to pickup the change. Perhaps tev can comment on that issue.

It shouldn't be necessary. COPSSH uses SID information in /etc/passwd to initiate windows authentication. SID value is unique to each user and is not affected by a password change.

Thanks for that...

Topic locked

Release news