Re: No username prompt SSHD
- From: "Robert Hajime Lanning" <robert.lanning@xxxxxxxxx>
- Date: Fri, 7 Apr 2006 20:19:38 -0700
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
- References:
- No username prompt SSHD
- From: asterix2112
- Re: No username prompt SSHD
- From: ViersOnline
- Re: No username prompt SSHD
- From: ilaiy
- No username prompt SSHD
- Prev by Date: Re: per user authentication types?
- Next by Date: Re: prngd usage on OpenSsh4.3p2
- Previous by thread: Re: No username prompt SSHD
- Next by thread: prngd usage on OpenSsh4.3p2
- Index(es):
Relevant Pages
|