SSH protocol2 without a password
From: Ray Hinse (rhinse@attbi.com)Date: 01/11/02
- Next message: jfw@radiDELMEx.net: "Re: ssh and batchmode"
- Previous message: Richard E. Silverman: "Re: Using SuSE Linux 6.2 with openshh 3.0.2"
- Next in thread: Richard E. Silverman: "Re: SSH protocol2 without a password"
- Reply: Richard E. Silverman: "Re: SSH protocol2 without a password"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Ray Hinse" <rhinse@attbi.com> Date: Fri, 11 Jan 2002 17:04:27 GMT
Have read 'ssh without a password' and apparently the problem lingers.
I have a similar problem in that I cannot 'ssh hostname' without a password
even though ssh_config contains the lines:
Host *
ForwardAgent no
ForwardX11 no
ConnectionAttempts 4
HostbasedAuthentication no
HostKeyAlgorithms ssh-rsa,ssh-dss
PubkeyAuthentication yes
PreferredAuthentications publickey,password,keyboard-interactive
BatchMode no
CheckHostIP yes
StrictHostKeyChecking ask
IdentityFile ~/.ssh/id_rsa
Port 22
Protocol 2
Ciphers
blowfish-cbc,aes128-cbc,3des-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
EscapeChar ~
The sshd_config files on all other computers contain:
Port 22
Protocol 2
HostKey /etc/ssh/ssh_host_rsa_key
LoginGraceTime 600
KeyRegenerationInterval 3600
#PermitRootLogin yes
StrictModes yes
X11Forwarding no
X11DisplayOffset 10
PrintMotd yes
KeepAlive yes
# Logging
SyslogFacility AUTH
LogLevel DEBUG
#obsoletes QuietMode and FascistLogging
# 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
#RSAAuthentication yes
PubkeyAuthentication yes
PasswordAuthentication yes
PermitEmptyPasswords no
Subsystem sftp /usr/libexec/sftp-server
Looking at /var/log/messages when the server (sshd) is started with a DEBUG
log level:
Starting SSH Daemon
socket: Address family not supported by protocol
server listening on 0.0.0.0 Port 22
I don't know exactly what this might mean although several comments on the
net seem to
think that CONFIG_PACKET=n is the problem. However my kernel is compiled
with a y.
This does not seem to effect the ssh connection other than requiring a
password. Further log
entries are:
connection from 192.168.0.1 port 32769
enabling compatibility mode for protocol 2.0
failed none for root from 192.168.0.1 port 32769 ssh2
failed publickey for root from 192.168.0.1 port 32769 ssh2
accepted password for root from 192.168.0.1 port 32769 ssh2
could not reverse map address 192.168.0.1
My ~/.ssh and files contained therein have the appropriate permissions as
well as /etc/ssh.
The public keys for connecting machines are in ~/.ssh/known_hosts2 and have
not been
altered. Even if they were 'StrictHostKeyChecking ask ' would allow the
change to be
entered.
I'm at a real loss here trying to figure out what's wrong. I anyone has a
suggestion or can
spot the problem, I'd appreciate hearing about it.
- Next message: jfw@radiDELMEx.net: "Re: ssh and batchmode"
- Previous message: Richard E. Silverman: "Re: Using SuSE Linux 6.2 with openshh 3.0.2"
- Next in thread: Richard E. Silverman: "Re: SSH protocol2 without a password"
- Reply: Richard E. Silverman: "Re: SSH protocol2 without a password"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|