Re: no password ssh



On Tue, 29 Jan 2008 11:15:26 -0800 (PST) reg1ster@xxxxxxxxxxx wrote:

| I am trying to get ssh to work without prompting for a password.
| I can get this to work but there seems to be a quirk that I wanted to
| know if it was a known issue/feature.
|
| If I place my public rsa key into the authorized_keys file of another
| user on another server, I can not ssh to that user without being
| prompted for a password. However it seems that my user that I am
| ssh'ing with also exists on that other server then I am not prompted
| for a password. Even though I do not have the password for the same
| userid on the other server.
|
| Is this a feature or something ?

Not a feature. I login as other users quite often by using these keys.
This even includes root.

What you might check for is that the files in ~/.ssh for the target user
are correctly owned by that target user, and have all the correct modes
and permissions. If, for example, you logged in as root and copied the
key from user "abc" to the authorized_keys file of user "xyz", it may be
owned by "abc" instead of "xyz". In this case, sshd would correctly
ignore the file (OK, that part is a feature).

--
|---------------------------------------/----------------------------------|
| Phil Howard KA9WGN (ka9wgn.ham.org) / Do not send to the address below |
| first name lower case at ipal.net / spamtrap-2008-01-29-2027@xxxxxxxx |
|------------------------------------/-------------------------------------|
.



Relevant Pages

  • Re: Multinet SSH server missing a feature?
    ... The /NOCOMMAND switch isn't supported for MultiNet SSH. ... of the SSH environment, in that the server actually does most of the ... >they were all rejected by the Multinet SSH server as having an invalid ... >cannot log it as a feature request. ...
    (comp.os.vms)
  • no password ssh
    ... I am trying to get ssh to work without prompting for a password. ... I can get this to work but there seems to be a quirk that I wanted to ... ssh'ing with also exists on that other server then I am not prompted ...
    (comp.security.ssh)
  • How create multiples ssh on same host without asking same password
    ... I used the SecureShell windows client from ssh.com and it have a cool ... feature: Once I logged on a server with ssh, I was able to create more ... the 'same channel' created from the first ssh client. ...
    (SSH)
  • Re: cant figure out ssh, read lots of docs...
    ... > I figure I need to figure out how to get ssh to connect without prompting, ... > for 28 years and can usually figure things out from man pages, but ssh ... don't assign a passphrase when generating the keys. ... Greg Barniskis, Computer Systems Integrator ...
    (freebsd-questions)
  • RE: After crash problem
    ... Outlook repeatedly prompting for credentials ... 325930 How to troubleshoot connectivity issues that are caused by RPC client ... You Continuously Receive Prompts for Your NT Domain Credentials ... >We've just recovered our crashed exchange 2003 server. ...
    (microsoft.public.exchange.admin)