Not working - passwordless login

2 posts / 0 new
Last post
itefix
Offline
Last seen: 1 week 6 days ago
Joined: 01.05.2008 - 21:33
Not working - passwordless login

Hi,

I have the latest version of copssh (earlier verison I installed on w2k box worked) installed on a w2k3 server no SP1 and have followed your proceedure in the faq on how to communicate w/o passwords, but this time it does not work.

1. When I create the link "ln ....." it tells me the authorized_keys2 file alread exists.

2. When I go to login as mydomain\administrator(I activated this user as domain) I get asked for the password.

3. How do I (example pls) run sshd -D from the bash prompt on the server?

4. Can anyone suggest how to fix it (pls list the proceedure for a dummy like me).

Here is the output from my ssh command (remote client)

$ ssh -v -i ./copssh -l mydomain\\administrator 192.168.100.23
OpenSSH_3.9p1, OpenSSL 0.9.7e 25 Oct 2004
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 192.168.100.23 port 22.
debug1: Connection established.
debug1: identity file ./copssh type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.1
debug1: match: OpenSSH_4.1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.9p1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024

itefix
Offline
Last seen: 1 week 6 days ago
Joined: 01.05.2008 - 21:33
Re: Not working - passwordless login

I apologize !! FAQ is outdated as of version 1.3.3. I will update it very soon. Use following procedure for passwordless login:

  • Activate a user. Activation process will make almost all neccesary arrangements for passwordless login. Your private key is named as login name in .ssh directory.
  • Version 1.3.3 has a small bug regarding some permissions. Run following commands to make public keys readable by everyone:

    • chmod 755 /home/login name
    • chmod 755 /home/login name/.ssh
    • chmod 644 /home/login name/.ssh/authorized_keys
    • chmod 644 /home/login name/.ssh/authorized_keys2
  • You can now copy your private key to target machine and use ssh -i private key -l login name hostname syntax to initiate passwordless communication.
Topic locked

Release announcements