ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Andrey Chichak <altlinux-community@s-plus.in>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Сеансы в konsole
Date: Fri, 12 Dec 2008 12:32:04 +0600
Message-ID: <49420564.6050102@s-plus.in> (raw)
In-Reply-To: <4941FC4D.4020402@nevod.ru>

Шигапов Ринат wrote:
> Здравствуйте!
>
> Хочу сделать удобным удалённое подключение к многочисленным серверам в
> Konsole. Создал несколько сеансов для каждого сервера. При открытии
> нового сеанса инициализируется подключение к соответствующему серверу.
> Т.к. я могу долгое время не начинать работу с данным сервером,
> соединение завершается по таймауту и приходится снова начинать новый
> сеанс. Хочу сделать запуск подключения в цикле в дочернем процессе.
> В качестве команды для сеанса стоит
> bash -c "while true; do (bash -c 'ssh user@server')"
> Однако сеанс всё равно завершается, если на удалённой машине удалить
> соответсвующий sshd-процесс. Т.е, как я понимаю, сигналы посылаются не
> дочернему, а родительскому процессу.
> Жду ваших предложений.
>
сгенерите себе ключик (ssh-keygen), разложте (ssh-copy-id) по удаленным
серверам ответную часть и ssh user@server будет туда тихо спокойно
заходить не ожидая пароля, и соответственно не валясь по таймауту.

-- 
С уважением,
Андрей Чичак.
ООО "С-Плюс", г.Томск
JID: chch@ru-pro.com
ICQ: 13154894



  reply	other threads:[~2008-12-12  6:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-12  5:53 Шигапов Ринат
2008-12-12  6:32 ` Andrey Chichak [this message]
2008-12-12  8:09   ` [Comm] !50=AK 2 konsole Шигапов Ринат
2008-12-12  8:46     ` Yuri Bushmelev
2008-12-12  9:58     ` Alexey Novikov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49420564.6050102@s-plus.in \
    --to=altlinux-community@s-plus.in \
    --cc=chch@s-plus.in \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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