sco 5.0.7 ssh auto login

From: Cary Lewis (cary.lewis_at_gmail.com)
Date: 01/25/05


Date: 25 Jan 2005 07:37:32 -0800

I can not get the auto-login authorized_keys ssh technique to work
correctly on sco 5.0.7 with the sco supplied ssh build (with update 3).

I can get the root to autologin to its own account, and I can get other
users on other machines to login in to the root account with the
authorized_keys technique with no problem.

With a regular user this does not work.

Copying id_rsa.pub to authorized_keys and then ssh localhost should
auto-login, but I get the prompt for password.

The ssh -v -v -v output indicates that we send the public key

.
.
.
debug1: Offering public key: /dvlp/cary/.ssh/id_rsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue:
publickey,password,keyboard-interacti
.
.

but the server does not accept it.

When I try the root account, it works correctly:

debug1: Server accepts key: pkalg ssh-rsa blen 149

So why does the root account work, but regular users do not?
Any help would be appreciated.



Relevant Pages

  • Re: After upgrade to jaunty, cannot use gksu or log in via ssh
    ... attempt has killed the daemon as well as causing an error. ... gksu will always default to the root account so try gksu without ... can't get sudo to work use single user mode from the grub menu 'e'dit ... As a work-around I tried logging in via ssh, ...
    (Ubuntu)
  • Re: Cant access server from user console
    ... SSH: SSH, V2.1.0pl ... Message returned from login attempt to remote host: ... no trouble using SSH client from root account using console> login ... When I try to access a server from a user> ...
    (comp.security.ssh)
  • Re: SSH upgrade?
    ... > Try ssh -v, and see exactly what it is complaining about. ... > Brad Davis wrote: ... >> It does work from the root account but not from my user account so I deleted ...
    (FreeBSD-Security)
  • Re: Finding IP Addresses (OT)
    ... I use to contact my server. ... I'd advise you not to filter SSH by IP, that would be the best way to ... to login when you are traveling and some urgent administration task ... root account, enforce using sudo instead of su. ...
    (freebsd-questions)