Альтернативный Форум

— этот форум работает с 03 октября 2005 года. ️‍🔥️‍🔥
(#1)
Старый 09.11.2006
Проблемы сдемоном SSH

В общем проблема в следующем:
И меется сетка из 10 компов. На одном из них стоит FreeBSD 5.3 С сетевухой compex. Также в сетке поднят домен на 2003 винде.
при попытке зайти через SSH на Фрю в клиенте просто висит чёрный экран и всё. При попытке зайти локально на 127.0.0.1 всё нормально, но при попытке обратиться к SSH через внешний интерфейс всё висит.
Помогите плиз срочно.
Fadei Fadei вне форума
Прохожий
Fadei Первый уровень
 
Регистрация: 09.11.2006
Сообщений: 1 шт.
Карма: 0 бал.
Ответить с цитированием
(#2)
Старый 09.11.2006

1.машина в принципе пингуется с других компов?
2.каким ни то сканером портов видишь открытый 22 порт?
3.а не локально на этой машине войти в систему можешь: ssh <user>@xxx.xxx.xxx.xxx ?
4.что пишут логи
..........................
...Не читайте написанного, потому что слова - ширма, темница, оковы, в которых бьется недосказанное...
Г.Л.Олди "Ожидающий на перекрестках"
scar scar вне форума
Держатель архива =)
scar Первый уровень
 
Аватар для scar
 
Регистрация: 07.10.2005
Сообщений: 188 шт.
Карма: 16 бал.
Ответить с цитированием
(#3)
Старый 09.11.2006

Цитата:
Сообщение от scar
1.машина в принципе пингуется с других компов?
2.каким ни то сканером портов видишь открытый 22 порт?
3.а не локально на этой машине войти в систему можешь: ssh <user>@xxx.xxx.xxx.xxx ?
4.что пишут логи
1. машина пингуется
2. порт открыт
3. входит
4. логи пишут что истекло время для авторизации

PS Может работать а через 5 минут завалаиться.... при попытке локального входа на внешний ip либо нече не происходит пока не прервеш, либо, заходит, но ждать приходиться порядка 2 минут... по началу я думал что глючит сетевуха... ибо на внешний ip пакеты идут через ed0... сетевуху поменяли... результат такойже...

PSS пробывал запускать sshd с гентушного лайф сиди.... результат такойже... то работает то нет.... если дело не в железе то я прям не знаю что тогда....
..........................
красиво жить не запретишь, но помешать то можно...
DrWolf DrWolf вне форума
сам я не местный....
DrWolf Первый уровень
 
Регистрация: 03.10.2005
Сообщений: 268 шт.
Карма: 35 бал.
Ответить с цитированием
(#4)
Старый 10.11.2006

странно, поставил openssh без всяких лишний изменений запустил демона и подцепился к себе (под рутом правда - не стал копошиться)
вот конфиги демона и клиента

sshd_config

# $OpenBSD: sshd_config,v 1.74 2006/07/19 13:07:10 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/bin:/bin:/usr/sbin:/sbin

# 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
#AddressFamily any
#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
#LogLevel INFO

# Authentication:

#LoginGraceTime 2m
#PermitRootLogin yes
#StrictModes yes
#MaxAuthTries 6

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

# 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
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes

# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication no
#PermitEmptyPasswords no

# Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes

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

# GSSAPI options
#GSSAPIAuthentication no
#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 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

#AllowTcpForwarding yes
#GatewayPorts no
#X11Forwarding no
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#TCPKeepAlive yes
#UseLogin no
#UsePrivilegeSeparation yes
#PermitUserEnvironment no
#Compression delayed
#ClientAliveInterval 0
#ClientAliveCountMax 3
#UseDNS yes
#PidFile /var/run/sshd.pid
#MaxStartups 10
#PermitTunnel no

# no default banner path
#Banner /some/path

# here are the new patched ldap related tokens
# entries in your LDAP must have posixAccount & ldapPublicKey objectclass
#UseLPK yes
#LpkLdapConf /etc/ldap.conf
#LpkServers ldap://10.1.7.1 ldap://10.1.7.2
#LpkUserDN ou=users,dc=phear,dc=org
#LpkGroupDN ou=groups,dc=phear,dc=org
#LpkBindDN cn=Manager,dc=phear,dc=org
#LpkBindPw secret
#LpkServerGroup mail
#LpkForceTLS no
#LpkSearchTimelimit 3
#LpkBindTimelimit 3

# override default of no subsystems
Subsystem sftp /usr/lib/misc/sftp-server

# Example of overriding settings on a per-user basis
#Match User anoncvs
# X11Forwarding no
# AllowTcpForwarding no
# ForceCommand cvs server

ssh_config

$OpenBSD: ssh_config,v 1.22 2006/05/29 12:56:33 dtucker Exp $

# This is the ssh client system-wide configuration file. See
# ssh_config(5) for more information. This file provides defaults for
# users, and the values can be changed in per-user configuration files
# or on the command line.

# Configuration data is parsed as follows:
# 1. command line options
# 2. user-specific file
# 3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.

# Site-wide defaults for some commonly used options. For a comprehensive
# list of available options, their meanings and defaults, please see the
# ssh_config(5) man page.

# Host *
# ForwardAgent no
# ForwardX11 no
# RhostsRSAAuthentication no
# RSAAuthentication yes
# PasswordAuthentication yes
# HostbasedAuthentication no
# GSSAPIAuthentication no
# GSSAPIDelegateCredentials no
# BatchMode no
# CheckHostIP yes
# AddressFamily any
# ConnectTimeout 0
# StrictHostKeyChecking ask
# IdentityFile ~/.ssh/identity
# IdentityFile ~/.ssh/id_rsa
# IdentityFile ~/.ssh/id_dsa
# Port 22
# Protocol 2,1
# Cipher 3des
# Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
# EscapeChar ~
# Tunnel no
# TunnelDevice any:any
# PermitLocalCommand no
..........................
...Не читайте написанного, потому что слова - ширма, темница, оковы, в которых бьется недосказанное...
Г.Л.Олди "Ожидающий на перекрестках"
scar scar вне форума
Держатель архива =)
scar Первый уровень
 
Аватар для scar
 
Регистрация: 07.10.2005
Сообщений: 188 шт.
Карма: 16 бал.
Ответить с цитированием
(#5)
Старый 10.11.2006

конфиг вроде такоже, за исключчением того что разрешены пустые пароли...
..........................
красиво жить не запретишь, но помешать то можно...
DrWolf DrWolf вне форума
сам я не местный....
DrWolf Первый уровень
 
Регистрация: 03.10.2005
Сообщений: 268 шт.
Карма: 35 бал.
Ответить с цитированием
Ответ


Здесь присутствуют: 1 (пользователей: 0 , гостей: 1)
 

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход

Похожие темы
Тема Автор Раздел Ответов Последнее сообщение
Проблемы с КПК FortySeven Мусорное ведро 91 12.11.2008 11:05
проблемы с алкоголем Синбад_МоряГ Трёп-флуд 25 21.05.2008 18:37
Проблемы с cedega _afad OS Linux 7 20.03.2008 00:21
Проблемы в FARCRY Aimar Игровой 8 31.01.2007 17:25

Powered by vBulletin® Version 3.8.11 PL4;
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd;
Оператор обработки ПДн - ИП Алексеев А.С.;
ИНН: 333411310227; ОГРН: 307333419200050;
тел. +7 (4922) 49-42-22, legal@smalta.net;
Часовой пояс GMT +3, время: 13:54.
Любые сообщения на Альтернативном Форуме — являются субъективным отражением реальности, написавших их авторов и публикуются без предварительной модерации. Администрация форума не принимает на себя ответственность за содержание таких материалов. В рамках функционирования форума осуществляется хранение ограниченного набора данных: имя пользователя, адрес электронной почты, IP-адрес (в момент входа) и cookie для поддержки сессии. Метаданные пользователей обрабатываются и направляются в уполномоченные органы только при наличии официального запроса в порядке, установленном законодательством РФ. В случае выявления противоправного контента, пожалуйста, направляйте уведомление через кнопку «Жалоба» или форму обратной связи.
ИКС