[BSD] [kezdo] SSH

Kovago Zoltan kz143 at hszk.bme.hu
2003. Dec. 8., H, 22:53:26 CET


Bocsanat, a konfig tenyleg lemaradt: FreeBSD 4.9-STABLE

az sshd_config:

---- START ----
Port 22
ListenAddress 0.0.0.0
HostKey /etc/ssh/ssh_host_key
ServerKeyBits 768
LoginGraceTime 600
KeyRegenerationInterval 3600
PermitRootLogin no
IgnoreRhosts yes
StrictModes yes
X11Forwarding yes
X11DisplayOffset 10
KeepAlive yes

SyslogFacility AUTH
LogLevel INFO

RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys

PasswordAuthentication no
PermitEmptyPasswords no

UseLogin no

PrintMotd no
PrintLastLog no
CheckMail no
---- END ----

es a debug:

---- START ----
ural2:~$ ssh -p 33 -v zvk@{MY-IP}
OpenSSH_3.7.1p2, SSH protocols 1.5/2.0, OpenSSL 0.9.7c 30 Sep 2003
debug1: Reading configuration data /opt/openssh/etc/ssh_config
debug1: Applying options for *
debug1: /opt/openssh/etc/ssh_config line 38: Deprecated option "RhostsAuthentica
tion"
debug1: Connecting to {MY-IP} [{MY-IP}] port 33.
debug1: Connection established.
debug1: identity file /home/f/kz143/.ssh/identity type -1
debug1: identity file /home/f/kz143/.ssh/id_dsa type -1
debug1: identity file /home/f/kz143/.ssh/id_rsa type -1
debug1: Remote protocol version 1.5, remote software version OpenSSH_3.5p1 FreeB
SD-20030924
debug1: match: OpenSSH_3.5p1 FreeBSD-20030924 pat OpenSSH_3.2*,OpenSSH_3.3*,Open
SSH_3.4*,OpenSSH_3.5*
debug1: Local version string SSH-1.5-OpenSSH_3.7.1p2
debug1: Waiting for server public key.
debug1: Received server public key (768 bits) and host key (1024 bits).
debug1: Host '{MY-IP}' is known and matches the RSA1 host key.
debug1: Found key in /home/f/kz143/.ssh/known_hosts:1
debug1: Encryption type: blowfish
debug1: Sent encrypted session key.
debug1: Installing crc compensation attack detector.
debug1: Received encrypted confirmation.
debug1: Doing challenge response authentication.
Password:
Response:
debug1: Requesting compression at level 1.
debug1: Enabling compression at level 1.
debug1: Requesting pty.
debug1: Requesting shell.
debug1: Entering interactive session.
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
        The Regents of the University of California.  All rights reserved.

zvk[1]: ~ $
---- END ----

Az sshd_configot egyebkent vegso elkeseredesemben egy linuxos geprol szedtem, ahol az altalam
kivant dolog tokeletesen mukodik. A pam_opie.so sort kikommenteltem a pam.conf-bol...eredmeny-
telenul.

udv,
--
kz

--------------------------
 -.= That'S aLL foLKs =.-



További információk a(z) BSD levelezőlistáról