kykyпочему на SFTP заходит а по обычному SSH нет? какие могут быть причины? Нажимаю в putty коннект и тишина..Конекчусь к VDS
>>134532754 (OP)кукукукуку
>>134532754 (OP)кукукуку
>>134532754 (OP)Порт открой
>>134532865на VDSe?
>>134532754 (OP)SFTP != SSH
>>134532888> или у себя?
>>134532900Ну так WinSCP работает нормально, зашел, ввел логин пароль. в путти почему то пустое черное окно.
>>134532963Скачай файл /etc/ssh/sshd_config и посмотри почему не пускает
>>134532754 (OP)Для пользователя, под которым логинишся может быть установлен /bin/false вместо шела. Тогда зайти в интерактивную сессию ты не сможешь.
>>134533001# Package generated configuration file# See the sshd_config(5) manpage for details# What ports, IPs and protocols we listen forPort 22# Use these options to restrict which interfaces/protocols sshd will bind to#ListenAddress ::#ListenAddress 0.0.0.0Protocol 2# HostKeys for protocol version 2HostKey /etc/ssh/ssh_host_rsa_keyHostKey /etc/ssh/ssh_host_dsa_keyHostKey /etc/ssh/ssh_host_ecdsa_keyHostKey /etc/ssh/ssh_host_ed25519_key#Privilege Separation is turned on for securityUsePrivilegeSeparation yes# Lifetime and size of ephemeral version 1 server keyKeyRegenerationInterval 3600ServerKeyBits 1024# LoggingSyslogFacility AUTHLogLevel INFO# Authentication:LoginGraceTime 120PermitRootLogin yesStrictModes yesRSAAuthentication yesPubkeyAuthentication yes#AuthorizedKeysFile %h/.ssh/authorized_keys# Don't read the user's ~/.rhosts and ~/.shosts filesIgnoreRhosts yes# For this to work you will also need host keys in /etc/ssh_known_hostsRhostsRSAAuthentication no# similar for protocol version 2HostbasedAuthentication 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 yesX11Forwarding yesX11DisplayOffset 10PrintMotd noPrintLastLog yesTCPKeepAlive yes#UseLogin no#MaxStartups 10:30:60Banner /etc/issue.net# Allow client to pass locale environment variablesAcceptEnv 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
Ладно вечером разберусь. %(
>>134533249Логинишься под рутом или под отдельным пользователем?
>>134533492Рута дали при создании вдса
>>134533529Возможно ты ошибся в айпи адресе или портуА вообще пиздуй в /s https://2ch.hk/s/res/1826205.html
>>134533603не мог. я из WInSCP запускаю Putty 0 реакции. видимо у меня пути сломался
>>134533647telnet server_ip 22Если подключается значить путти сломал если нет то пидор
>>134533711>2016>telnet
>>134533711да мне лень телнет еще устанавливать на шиндовзз)) вечером прыщи поставлю и буду дрочится