boun.edu.tr dan Murat kardeşim, # işareti o satırı görmezden gel
anlamında kullanılıyor (comment).
Tüm bu yazdıklarının başında bunlardan varsa kaldırman gerekmektedir.
Putty ile ilgili tüm ayarları sıfırla. Yani Putty'e elleme.
UseDNS yes ise onu da no yap.
Daha sonra
/etc/rc.d/sshd stop
/etc/rc.d/sshd start
ps aux | grep ssh diyerek başladığına emin ol.
Hala olmuyorsa
tail -n500 /var/log/messages | grep ssh > /root/nedir.txt deyip bu
nedir.txt in içeriğini buraya kopyala.
Ve hatta mümkünse BSDler için örnek bir sshd_config dosyası bulup onu
değiştirmeni öneririm.
Ekte Linux için olanı var. Dikkat!!! path bilgisi ve çalışan uygulamalar
aynı olmayabilir, aynen kullanma.
Kolay gelsin.
Gokhan
Murat yazmış:
# isareti kaldırdım "no" yu "yes" yapdım.
service yeniden baslattım ama yinede olmadı.
telnet ve putty ekranları attachment olarak gonderiyorum.
yardımlarınız icin simdiden tesekkurler
----- Original Message ----- From: "Gökhan ALKAN" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, June 24, 2006 7:38 PM
Subject: [FreeBSD] Re: FreeBSD server' a Putty kullanarak ssh
uzerinden baglanmak
"AllowUsers [EMAIL PROTECTED]" degerını silip PermitRootLogin yes
yapıp root kullanıcısı ıle baglanmayı deneyebılırmısınız ?
tabi ssh yeniden baslatmayı unutmayın
putty login as ekranı geliyor kullanıcı yazıyorum ama bana sifre
falan sormuyor yine aynı hatayı veriyor. putty ayar yapmak
gerekiyor mu.
----- Original Message ----- From: Gokhan Toplar To:
[email protected] Sent: Saturday, June 24, 2006 4:53 PM
Subject: Re: [FreeBSD] FreeBSD server' a Putty kullanarak ssh
uzerinden baglanmak Hatalı olan satır ListenAddress 192.168.4.1 Bu
adres ba�lantı yapılacak makina ipsi de�il,
sunucunun kendi ipsi olmalı.
Ve illa bunu yazmak zorunda de�ilsiniz.
E�er belli bir ip vermezseniz ssh 0.0.0.0 da
dinleyecektir. Kolay gelsin,
Gokhan Murat yazmı�: selam Arkadaslar bir sorum olacak
ben freeBSD 6.0 release servera Putty ile uzakdan baglanmak istiyorum.
asagidaki islemleri yapdım ama olmadı ne yapmak lazım
/etc/rc.conf file icine asagidaki satiri ekledim
sshd_enable="YES" /etc/ssh/sshd_config file icine asagidaki 3
satiri ekledim Port 22 //SSH port
Protocol 2 //sadece SSH icin version 2 kullan
AllowUsers [EMAIL PROTECTED] //sadece root kullanıcısı
ListenAddress 192.168.4.1 //service /etc/rc.d/sshd stop
/etc/rc.d/sshd start freeBSD 6.0 release server hata olarak
asagıdaki satırı veriyor sshd[2979]:fatal:Timeout before
authentication for 192.168.4.11 Not:makine da Firewall ve ipfilter
enable degil. yardımlarınız icin simdiden tessekkur ederim. Murat
KUCUKHUSEYIN Bogazici Universitesi Bilgi Islem Merkezi Tel: +90
(212) 359 47 06 Fax: +90 (212) 359 47 00 E-Mail:
[EMAIL PROTECTED] Web: www.boun.edu.tr
Gökhan ALKAN
Ağ ve Güvenlik İpuçları
http://www.acikakademi.com/catalog/nethacks/
---------------------------------------------------------------------
Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org
Turkiye'nin ilk FreeBSD kitabi: http://www.acikakademi.com/freebsd.php
---------------------------------------------------------------------
Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org
Turkiye'nin ilk FreeBSD kitabi: http://www.acikakademi.com/freebsd.php
# $OpenBSD: sshd_config,v 1.69 2004/05/23 23:59:53 dtucker Exp $
# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.
# This sshd was compiled with PATH=/usr/local/bin:/bin:/usr/bin
# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. Uncommented options change a
# default value.
#Port 22
#Protocol 2,1
#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 1h
#ServerKeyBits 768
# Logging
#obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
SyslogFacility AUTHPRIV
#LogLevel INFO
# Authentication:
#LoginGraceTime 2m
#PermitRootLogin yes
#StrictModes yes
#MaxAuthTries 6
#RSAAuthentication yes
#PubkeyAuthentication yes
#AuthorizedKeysFile .ssh/authorized_keys
#KerberosGetAFSToken no
# GSSAPI options
#GSSAPIAuthentication no
GSSAPIAuthentication yes
#GSSAPICleanupCredentials yes
GSSAPICleanupCredentials yes
# Set this to 'yes' to enable PAM authentication, account processing,
# and session processing. If this is enabled, PAM authentication will
# be allowed through the ChallengeResponseAuthentication mechanism.
# Depending on your PAM configuration, this may bypass the setting of
# PasswordAuthentication, PermitEmptyPasswords, and
# "PermitRootLogin without-password". If you just want the PAM account and
# session checks to run without PAM authentication, then enable this but set
# ChallengeResponseAuthentication=no
#UsePAM no
UsePAM yes
#AllowTcpForwarding yes
#GatewayPorts no
#X11Forwarding no
X11Forwarding no
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#TCPKeepAlive yes
#UseLogin no
#UsePrivilegeSeparation yes
#PermitUserEnvironment no
#Compression yes
#ClientAliveInterval 0
#ClientAliveCountMax 3
#UseDNS yes
#PidFile /var/run/sshd.pid
#MaxStartups 10
#ShowPatchLevel no
# no default banner path
#Banner /some/path
# override default of no subsystems
Subsystem sftp /usr/libexec/openssh/sftp-server
AllowUsers root
# AllowUsers admin
AllowUsers kunthar
---------------------------------------------------------------------
Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org
Turkiye'nin ilk FreeBSD kitabi: http://www.acikakademi.com/freebsd.php