Re: prompt or not prompt for the password depending on the user



wong_powah@xxxxxxxx wrote:
On Jun 20, 8:06 pm, Dave <somepl...@xxxxxxxxxxxxxxxx> wrote:
wong_po...@xxxxxxxx wrote:
I want the server to prompt or not prompt for the password depending
on the user.
Can host based authentication (using ~/.ssh/authorized_keys, etc) do
that?
e.g.
# ssh john@server
prompt for password
# ssh powah@server
no prompt for password
Tat sure is secure!

For the known client C to ssh to server, no prompt for password for
the user powah, else still prompt for password for all unknown
clients. This is host based authentication.

Sorry, I did not read the line about host-based authentication - I incorrectly assumed you wanted it to be based on just the username (as the subject might imply).

Sorry.
.



Relevant Pages

  • Re: Unix accounts at Universities
    ... > Another Q I have is that when I try to ssh to another ... > but the prompt indicates that I am in the same host... ... do you get logged into host2 or not? ... I'm a bit surprised by the %-sign prompt. ...
    (comp.security.unix)
  • Getting rid of return message in ssh
    ... I need to be able to go from one host to another via ssh and not get back ... any message other than the prompt for the second machine. ...
    (RedHat)
  • pam_radius fail open?
    ... “If you find a security problem -- or even if you find something which ... I mistakenly typed the line for ssh as follows: ... Here is the result when I ssh in to the server from another host: ... The thing to note is that the system did not prompt me for a password. ...
    (FreeBSD-Security)
  • Re: SSH remote login as root
    ... If you really want to have root logins via SSH, just use public-key ... authentication and limit the source addresses using the "host = .." ...
    (comp.security.ssh)
  • Re: prompt or not prompt for the password depending on the user
    ... Can host based authentication ... # ssh powah@server ... no prompt for password ...
    (comp.security.ssh)