[Çözüldü] ssh parola kabul etmıyor

Başlatan Deathangel, 13 Mart 2016 - 22:43:48

« önceki - sonraki »

0 Üyeler ve 1 Ziyaretçi konuyu incelemekte.

Deathangel

ifconfig satırı

linux@masaustu:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 90:2b:34:38:f8:db 
          inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fd3c:dfbd:8624:ae00:922b:34ff:fe38:f8db/64 Scope:Evrensel
          inet6 addr: fd3c:dfbd:8624:ae00:ac6e:c26:7873:3286/64 Scope:Evrensel
          inet6 addr: fe80::922b:34ff:fe38:f8db/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:351328 errors:0 dropped:0 overruns:0 frame:0
          TX packets:273765 errors:0 dropped:0 overruns:0 carrier:9
          collisions:0 txqueuelen:1000
          RX bytes:401304850 (401.3 MB)  TX bytes:34936683 (34.9 MB)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Sunucu
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:139416 errors:0 dropped:0 overruns:0 frame:0
          TX packets:139416 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:160973407 (160.9 MB)  TX bytes:160973407 (160.9 MB)



linux@masaustu:~$ ssh Linux@192.168.1.3
Linux@192.168.1.3's password:
Permission denied, please try again.
Linux@192.168.1.3's password:
Permission denied, please try again.
Linux@192.168.1.3's password:

ssh ı ıkı üç kere sildim gene yükledim hala aynı sorun nasıl düzeltebilirim

in a world without fences and walls, who needs gates and windows

keyserver2.pgp.com
EA004CB1-->privatekey0@gmail.com

siberoloji

Bağlanmak istediğin bilgisayarda ssh server kurulu olmalı ki zaten öyle olduğunu düşünüyorum.
Bağlanmak istediğin bilgisayarda aşağıdaki komutun çıktısını paylaşır mısın?
sudo cat /etc/ssh/sshd_config

Deathangel

linux@masaustu:~$ sudo cat /etc/ssh/sshd_config
[sudo] password for linux:
# Package generated configuration file
# See the sshd_config(5) manpage for details

# What ports, IPs and protocols we listen for
Port 22
# Use these options to restrict which interfaces/protocols sshd will bind to
#ListenAddress ::
#ListenAddress 0.0.0.0
Protocol 2
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key
#Privilege Separation is turned on for security
UsePrivilegeSeparation yes

# Lifetime and size of ephemeral version 1 server key
KeyRegenerationInterval 3600
ServerKeyBits 1024

# Logging
SyslogFacility AUTH
LogLevel INFO

# Authentication:
LoginGraceTime 120
PermitRootLogin without-password
StrictModes yes

RSAAuthentication yes
PubkeyAuthentication yes
#AuthorizedKeysFile %h/.ssh/authorized_keys

# 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_known_hosts
RhostsRSAAuthentication no
# similar for protocol version 2
HostbasedAuthentication no
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
#IgnoreUserKnownHosts yes

# To enable empty passwords, change to yes (NOT RECOMMENDED)
PermitEmptyPasswords no

# Change to yes to enable challenge-response passwords (beware issues with
# some PAM modules and threads)
ChallengeResponseAuthentication no

# Change to no to disable tunnelled clear text passwords
#PasswordAuthentication yes

# Kerberos options
#KerberosAuthentication no
#KerberosGetAFSToken no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes

# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes

X11Forwarding yes
X11DisplayOffset 10
PrintMotd no
PrintLastLog yes
TCPKeepAlive yes
#UseLogin no

#MaxStartups 10:30:60
#Banner /etc/issue.net

# Allow client to pass locale environment variables
AcceptEnv LANG LC_*

Subsystem sftp /usr/lib/openssh/sftp-server

# 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 and
# PasswordAuthentication.  Depending on your PAM configuration,
# PAM authentication via ChallengeResponseAuthentication may bypass
# the setting of "PermitRootLogin without-password".
# If you just want the PAM account and session checks to run without
# PAM authentication, then enable this but set PasswordAuthentication
# and ChallengeResponseAuthentication to 'no'.
UsePAM yes
linux@masaustu:~$

in a world without fences and walls, who needs gates and windows

keyserver2.pgp.com
EA004CB1-->privatekey0@gmail.com

siberoloji

1.Orjinal ayarlar dosyamızın yedeğini alıyoruz.
sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.original
2.Yedeklediğimiz dosyayı koruma altına alıyoruz.
sudo chmod a-w /etc/ssh/sshd_config.original
3. Ayar dosyamızı bu komutla açıyoruz.
sudo nano /etc/ssh/sshd_config
4.Açtığımız dosyanın en altına alttaki ifadeyi ekliyoruz.
AllowUsers linux
5. Ctrl+X ile çıkış isteği yapıp. Kaydedeyim mi sorusuna evet ile cevap verip Enter ile çıkıyoruz.
6. SSH servisini tekrar başlatıyoruz.
sudo service ssh restart
7. ssh linux@192.168.1.3
adresine diğer bilgisayardan tekrar bağlanmaya çalışıyoruz. Bu esnada ilk mesajınızda olduğu gibi Linux olarak L harfi büyük yazmıyoruz.
8. Sonucu, ekranda verilen hata mesajını tekrar burada paylaşıyoruz.
9. Bu gece çok üzgünüz çok...

Deathangel

evet abi sen nasılsın patlamada bana yarın okul var abı ben yatıyorum yarın yapıcam
in a world without fences and walls, who needs gates and windows

keyserver2.pgp.com
EA004CB1-->privatekey0@gmail.com

heartsmagic

Kendi makinene bağlanmak istiyorsun anladığım kadarıyla?
Kullandığın kullanıcı ismi: linux
SSH yapmaya çalıştığın kullanıcı ismi: Linux

Linux üzerinde büyük küçük harf ayrımı vardır, Linux ile linux aynı değildir yani.
Hayattan çıkarı olmayanların, ölümden de çıkarı olmayacaktır.
Hayatlarıyla yanlış olanların ölümleriyle doğru olmalarına imkân var mıdır?


Böylece yalan, dünyanın düzenine dönüştürülüyor.

Deathangel

abi ben ubuntuyu kurarken Linux diye kurdum ama linux olarak neden gectıkı
in a world without fences and walls, who needs gates and windows

keyserver2.pgp.com
EA004CB1-->privatekey0@gmail.com

heartsmagic

Karıştırıyorsundur, küçük harfle vermişsin kullanıcı ismini ki küçük harfle işlemiş sistem.
Hayattan çıkarı olmayanların, ölümden de çıkarı olmayacaktır.
Hayatlarıyla yanlış olanların ölümleriyle doğru olmalarına imkân var mıdır?


Böylece yalan, dünyanın düzenine dönüştürülüyor.