ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] ssh timeouts
@ 2009-05-14 12:47 Andriy Khavryuchenko
  2009-05-17 17:54 ` Andriy Khavryuchenko
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Andriy Khavryuchenko @ 2009-05-14 12:47 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

На сервере в ovz контейнере крутится ssh сервер.

Регулярно, при нормальном качестве соединения, скрипты, обращающиеся к
нему, вываливаются со следующей диагностикой:

ssh: ssh_exchange_identification: Connection closed by remote host
fatal: The remote end hung up unexpectedly
ssh: ssh_exchange_identification: Connection closed by remote host
fatal: The remote end hung up unexpectedly
ssh: ssh_exchange_identification: Connection closed by remote host
fatal: The remote end hung up unexpectedly
error: Could not fetch origin

LA на сервере (как HN, так и виртуалке) в пределах разумного.  Лимитов
виртуалки хватает.

Куда ещё смотреть?

-- 
> К чему плодить баги?
К тому, чтобы в багах было 40 комментариев, а не 400. И чтобы статус "fixed"
было понятно когда ставить, и было понятно как проверять, что баг
пофикшен. И к
тому, чтобы название бага соответствовало его содержанию.
		-- dottedmag in #9364


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Sysadmins] ssh timeouts
  2009-05-14 12:47 [Sysadmins] ssh timeouts Andriy Khavryuchenko
@ 2009-05-17 17:54 ` Andriy Khavryuchenko
  2009-05-18  3:46 ` Anton Kvashin
  2009-05-18  8:40 ` Ivan Fedorov
  2 siblings, 0 replies; 8+ messages in thread
From: Andriy Khavryuchenko @ 2009-05-17 17:54 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

Andriy Khavryuchenko написал:
> На сервере в ovz контейнере крутится ssh сервер.
> 
> Регулярно, при нормальном качестве соединения, скрипты, обращающиеся к
> нему, вываливаются со следующей диагностикой:
> 
> ssh: ssh_exchange_identification: Connection closed by remote host
> fatal: The remote end hung up unexpectedly

Детальнее:

$ ssh -v xxxx.com ls
OpenSSH_5.2p1, OpenSSL 0.9.8k 25 Mar 2009
debug1: Reading configuration data /home/akhavr/.ssh/config
debug1: Applying options for *
debug1: Reading configuration data /etc/openssh/ssh_config
debug1: Applying options for *
debug1: Connecting to xxxx.com [xx.xx.xx.xx] port 22.
debug1: Connection established.
debug1: identity file /home/akhavr/.ssh/id_rsa type 1
debug1: identity file /home/akhavr/.ssh/id_dsa type 2
ssh: ssh_exchange_identification: Connection closed by remote host


-- 
Как бы нам ещё увеличить оперативность реагирования с полугода до месяца? :)
		-- lav in #10570


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Sysadmins] ssh timeouts
  2009-05-14 12:47 [Sysadmins] ssh timeouts Andriy Khavryuchenko
  2009-05-17 17:54 ` Andriy Khavryuchenko
@ 2009-05-18  3:46 ` Anton Kvashin
  2009-05-18  6:24   ` Andriy Khavryuchenko
  2009-05-18  7:00   ` Boris Savelev
  2009-05-18  8:40 ` Ivan Fedorov
  2 siblings, 2 replies; 8+ messages in thread
From: Anton Kvashin @ 2009-05-18  3:46 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

Andriy Khavryuchenko пишет:
> На сервере в ovz контейнере крутится ssh сервер.
> 
> Регулярно, при нормальном качестве соединения, скрипты, обращающиеся к
> нему, вываливаются со следующей диагностикой:
> 
> ssh: ssh_exchange_identification: Connection closed by remote host
> 
> Куда ещё смотреть?

Наблюдалось такое при проблемах с fs (другие сервисы тоже "хромали")

Если есть альтернативный доступ, используя его, попробуйте перезапустить 
ssh-сервер.

-- 
Anton Kvashin


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Sysadmins] ssh timeouts
  2009-05-18  3:46 ` Anton Kvashin
@ 2009-05-18  6:24   ` Andriy Khavryuchenko
  2009-05-18  7:00   ` Boris Savelev
  1 sibling, 0 replies; 8+ messages in thread
From: Andriy Khavryuchenko @ 2009-05-18  6:24 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

Anton Kvashin написал:
> Andriy Khavryuchenko пишет:
>> ssh: ssh_exchange_identification: Connection closed by remote host
[...]
> 
> Наблюдалось такое при проблемах с fs (другие сервисы тоже "хромали")
> 
> Если есть альтернативный доступ, используя его, попробуйте перезапустить
> ssh-сервер.

И альтернативного и прямого доступа сколько угодно, проблем с файловой
не наблюдалось.

sshd рестартонул, посмотрим на эффект...

-- 
Дык эта... на то и мэйнтейнер у пакета, чтобы апстрим не дремал! =)
		-- mutabor in #6317


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Sysadmins] ssh timeouts
  2009-05-18  3:46 ` Anton Kvashin
  2009-05-18  6:24   ` Andriy Khavryuchenko
@ 2009-05-18  7:00   ` Boris Savelev
  2009-05-18  7:03     ` Andriy Khavryuchenko
  1 sibling, 1 reply; 8+ messages in thread
From: Boris Savelev @ 2009-05-18  7:00 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

18 мая 2009 г. 7:46 пользователь Anton Kvashin <foo@junior.esoo.ru> написал:
> Andriy Khavryuchenko пишет:
>>
>> На сервере в ovz контейнере крутится ssh сервер.
>>
>> Регулярно, при нормальном качестве соединения, скрипты, обращающиеся к
>> нему, вываливаются со следующей диагностикой:
>>
>> ssh: ssh_exchange_identification: Connection closed by remote host
>>
>> Куда ещё смотреть?
>
> Наблюдалось такое при проблемах с fs (другие сервисы тоже "хромали")
>
> Если есть альтернативный доступ, используя его, попробуйте перезапустить
> ssh-сервер.

проверьте права на /dev/null

-- 
С уважением, Борис Савельев

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Sysadmins] ssh timeouts
  2009-05-18  7:00   ` Boris Savelev
@ 2009-05-18  7:03     ` Andriy Khavryuchenko
  0 siblings, 0 replies; 8+ messages in thread
From: Andriy Khavryuchenko @ 2009-05-18  7:03 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

Boris Savelev написал:
> проверьте права на /dev/null

$ ll /dev/null
crw-rw-rw- 1 root root 1, 3 Mar 30 01:50 /dev/null

Так что с этим всё в порядке...

-- 
Мне кажется порой...
что цены растут быстрее зарплаты,
а баги появляются быстрее, чем закрываются.
		-- lav in #13941


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Sysadmins] ssh timeouts
  2009-05-14 12:47 [Sysadmins] ssh timeouts Andriy Khavryuchenko
  2009-05-17 17:54 ` Andriy Khavryuchenko
  2009-05-18  3:46 ` Anton Kvashin
@ 2009-05-18  8:40 ` Ivan Fedorov
  2009-05-18  8:48   ` Andriy Khavryuchenko
  2 siblings, 1 reply; 8+ messages in thread
From: Ivan Fedorov @ 2009-05-18  8:40 UTC (permalink / raw)
  To: sysadmins

[-- Attachment #1: Type: text/plain, Size: 1084 bytes --]

Andriy Khavryuchenko <akhavr-F2VHdZqonVAAvxtiuMwx3w@public.gmane.org>
writes:

> На сервере в ovz контейнере крутится ssh сервер.
>
> Регулярно, при нормальном качестве соединения, скрипты, обращающиеся к
> нему, вываливаются со следующей диагностикой:
>
> ssh: ssh_exchange_identification: Connection closed by remote host
> fatal: The remote end hung up unexpectedly
> ssh: ssh_exchange_identification: Connection closed by remote host
> fatal: The remote end hung up unexpectedly
> ssh: ssh_exchange_identification: Connection closed by remote host
> fatal: The remote end hung up unexpectedly
> error: Could not fetch origin
>
> LA на сервере (как HN, так и виртуалке) в пределах разумного.  Лимитов
> виртуалки хватает.
>
> Куда ещё смотреть?

может DNS? Ну и смотреть наверное стоит в логи сервера...

[-- Attachment #2: Type: application/pgp-signature, Size: 196 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Sysadmins] ssh timeouts
  2009-05-18  8:40 ` Ivan Fedorov
@ 2009-05-18  8:48   ` Andriy Khavryuchenko
  0 siblings, 0 replies; 8+ messages in thread
From: Andriy Khavryuchenko @ 2009-05-18  8:48 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

Ivan Fedorov написал:
> может DNS? 

Точно *не* dns, т.к. проблемы возникают при доступе с на абсолютно
несвязанных подсетей.

> Ну и смотреть наверное стоит в логи сервера...

При обычном уровне записи логов - ничего необычного (пачка попыток
подобрать пароль и всё).

Пока рестарт sshd помог, но хотелось бы выяснить и корневую причину
проблемы.

-- 
Признайтесь, у вас Иксы 7.1, которых нет в Сизифе?
		-- lav in #9602


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-05-18  8:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-14 12:47 [Sysadmins] ssh timeouts Andriy Khavryuchenko
2009-05-17 17:54 ` Andriy Khavryuchenko
2009-05-18  3:46 ` Anton Kvashin
2009-05-18  6:24   ` Andriy Khavryuchenko
2009-05-18  7:00   ` Boris Savelev
2009-05-18  7:03     ` Andriy Khavryuchenko
2009-05-18  8:40 ` Ivan Fedorov
2009-05-18  8:48   ` Andriy Khavryuchenko

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git