Re: No username prompt SSHD



No, it is the client side.
The client takes the current user and passes that to the server as the
username to
login as.

To override this you must supply a username to the client in one of two ways:
$ ssh <user>@<server>

or

$ ssh -l <user> <server>

The client "ssh" (not the server "sshd") would need to prompt the user for the
username, before sending it over to the server. This has never been done for
unix ssh clients. Windows clients are another story.

SSH's user interface is modeled after the r* commands (rlogin/rsh/rcp/rcmd). In
fact, SSH was designed to be able to be a complete replacement for the
r* commands.
You could delete rsh and rename ssh to rsh, and every program the was
designed to
use rsh, would still work fine.

On 4/6/06, ilaiy <ilaiy.e@xxxxxxxxx> wrote:
No it is the server side because when you just to do a " ssh server" .
It would take the user you have logged in as.

The documentation says it is taken from the env " LOGNAME" but I am
not very sure about this ..

./thanks
ilaiy

On 4/6/06, ViersOnline <viers@xxxxxxx> wrote:
'tis client side not server side

$ ssh login@server

or

$ ssh -l login serveur
( if omitted login is client side login)

--viers

asterix2112 wrote:

All,

Hi, this is probably a dumb newbie question but I searched all over and
can not find an answer.
I have sshd set up on my server, and all I want is just username/password
authentication, but all I can seem to get when I log on from another
computer is a password prompt. And it will only accept the root password
(with PermitRootLogin yes, if set to no it will not work - and I don't want
root to be able to log on). How to I get the username prompt?

Thanks all, my sshd.config is below. - John

Port 22
Protocol 2
#AddressFamily any
#ListenAddress 0.0.0.0
#ListenAddress ::

# HostKey for protocol version 1
#HostKey /etc/ssh/ssh_host_key
#HostKeys for protocol version 2
#HostKey /etc/ssh/ssh_host_dsa_key

# Lifetime and size of ephemeral version 1 server key
#KeyRegenerationInterval 1h
ServerKeyBits 768

# Logging
# obsoletes QuietMode and FascistLogging
SyslogFacility AUTH
#LogLevel INFO

# Authentication:

LoginGraceTime 2m
PermitRootLogin yes
#StrictModes yes
#MaxAuthTries 6

#RSAAuthentication yes
#PubkeyAuthentication yes
#AuthorizedKeysFile .ssh/authorized_keys

# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes

# Change to yes to enable built-in password authentication.
PasswordAuthentication yes
PermitEmptyPasswords no

# Change to no to disable PAM authentication
ChallengeResponseAuthentication yes

# Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes
#KerberosGetAFSToken no

# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes

UsePAM yes

#AllowTcpForwarding yes
#GatewayPorts no

AllowUsers asterix, bro, root

#X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#TCPKeepAlive yes
#UseLogin yes
#UsePrivilegeSeparation yes
#PermitUserEnvironment no
#Compression delayed
#ClientAliveInterval 0
#ClientAliveCountMax 3
#UseDNS yes
#PidFile /var/run/sshd.pid
#MaxStartups 10

# no default banner path
#Banner /some/path

# override default of no subsystems
Subsystem sftp /usr/libexec/sftp-server
--
View this message in context: http://www.nabble.com/No-username-prompt-SSHD-t1399543.html#a3764497
Sent from the SSH (Secure Shell) forum at Nabble.com.









--
And, did Guloka think the Ulus were too ugly to save?
-Centauri



Relevant Pages

  • Re: F$GETJPI doesnt match SHOW PROCESS/ACCOUNTING
    ... With Tier3 applications, you choose the default user name that execution ... server processes will be created under. ... without privileges) to assume the persona/rights/privileges of the client on ... if you left the "Login Confirmation" checkbox ...
    (comp.os.vms)
  • Re: Applet Consideration
    ... > the client applet to connect to the server. ... everything is sent as String. ... >> I made it so the client has absolutely no knowledge that the db exists. ... Each thread must be initialized by a login. ...
    (comp.lang.java.databases)
  • Re: XP Client Cant Log In To Server After Initial Setup
    ... username, and the domainname is the netbios name of your domain (you can ... check that on the server). ... "Bob N." ... I logged onto one of the client ...
    (microsoft.public.windows.server.sbs)
  • Re: Secure single sign on/automatic login?
    ... then checks the checkbox to automatically login. ... The client sends the login details to the webserver, ... I use the static value and the challenged recieved from the server to ... I want to achive authentication as described above. ...
    (microsoft.public.dotnet.security)
  • Re: ASP.NET User.Identity.Name value after a domain username chang
    ... Can you point me to any resources I can use about getting the SID of the ... WebRequest user without using the username as the base of a lookup (since I ... access a website on the server. ... I have a very confusing issue when the domain login of a user is changed ...
    (microsoft.public.dotnet.framework.aspnet.security)