login with public keys
From: Denis Heitbrock (denis.heitbrock_at_surfacepreparation.de)
Date: 02/10/04
- Previous message: VI: "Newbie: Cannot connect using keys (Openssh on Win XP)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: <secureshell@securityfocus.com> Date: Tue, 10 Feb 2004 09:54:22 +0100
hi,
i got a little problem when i want to login from a w2k client with f-secure
ssh client to a redhat server with openssh (3.4p1-7). i created on my client
pc a 2048bit rsa key and copied into /root/.ssh/authorized_keys file. my
loginname under w2k is heitbrock but i want to login on the openssh server
as root. when i want to login with the client i cant login. where is my
mistake? thxxx for help
greetz
denis
W2k Client:
C:\Programme\F-Secure\Ssh>ssh2 -l root 172.24.90.2 -vvv
debug: Connecting to 172.24.90.2, port 22... (SOCKS not used)
debug: Entering event loop.
debug: Creating transport protocol.
debug: Added "securid-1@ssh.com" to usable methods.
debug: Added "publickey" to usable methods.
debug: Added "password" to usable methods.
debug: Creating userauth protocol.
debug: client supports 3 auth methods:
'securid-1@ssh.com,publickey,password'
debug: local ip = 172.24.90.198, local port = 1289
debug: remote ip = 172.24.90.2, remote port = 22
debug: Wrapping...
debug: Remote version: SSH-2.0-OpenSSH_3.4p1
debug: Remote version has rekey incompatibility bug.
debug: Remote version is OpenSSH, KEX guesses disabled.
debug: lang s to c: `', lang c to s: `'
debug: c_to_s: cipher 3des-cbc, mac hmac-sha1, compression none
debug: s_to_c: cipher 3des-cbc, mac hmac-sha1, compression none
debug: Remote host key found from database.
debug: Received SSH_CROSS_STARTUP packet from connection protocol.
debug: Received SSH_CROSS_ALGORITHMS packet from connection protocol.
debug: server offers auth methods 'publickey,password,keyboard-interactive'.
debug: adding keyfile "C:\Dokumente und
Einstellungen\Heitbrock\Anwendungsdaten\
F-Secure SSH\userkeys\WS90198" to candidates
debug: server offers auth methods 'publickey,password,keyboard-interactive'.
debug: Method 'publickey' disabled.
debug: server offers auth methods 'publickey,password,keyboard-interactive'.
debug: Starting password query...
root's password:
sshd_config file:
#Port 22
Protocol 2
#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_rsa_key
#HostKey /etc/ssh/ssh_host_dsa_key
# Lifetime and size of ephemeral version 1 server key
#KeyRegenerationInterval 3600
#ServerKeyBits 768
# Logging
#obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
SyslogFacility AUTHPRIV
#LogLevel INFO
# Authentication:
#LoginGraceTime 600
#PermitRootLogin yes
#StrictModes yes
#RSAAuthentication yes
#PubkeyAuthentication yes
#AuthorizedKeysFile .ssh/authorized_keys
# rhosts authentication should not be used
#RhostsAuthentication no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes
# 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
# To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication yes
#PermitEmptyPasswords no
# Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes
# Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes
#AFSTokenPassing no
# Kerberos TGT Passing only works with the AFS kaserver
#KerberosTgtPassing no
# Set this to 'yes' to enable PAM keyboard-interactive authentication
# Warning: enabling this may bypass the setting of 'PasswordAuthentication'
#PAMAuthenticationViaKbdInt yes
#X11Forwarding no
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#KeepAlive yes
#UseLogin no
#UsePrivilegeSeparation yes
#Compression yes
#MaxStartups 10
# no default banner path
#Banner /some/path
#VerifyReverseMapping no
# override default of no subsystems
Subsystem sftp /usr/libexec/openssh/sftp-server
- Previous message: VI: "Newbie: Cannot connect using keys (Openssh on Win XP)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|