From: "Шигапов Ринат" <srk@nevod.ru>
To: chch@s-plus.in,
ALT Linux Community general discussions
<community@lists.altlinux.org>
Subject: Re: [Comm] !50=AK 2 konsole
Date: Fri, 12 Dec 2008 13:09:20 +0500
Message-ID: <49421C30.4080104@nevod.ru> (raw)
In-Reply-To: <49420564.6050102@s-plus.in>
Andrey Chichak пишет:
> Шигапов Ринат wrote:
>
>> Здравствуйте!
>>
>> Хочу сделать удобным удалённое подключение к многочисленным серверам в
>> Konsole. Создал несколько сеансов для каждого сервера. При открытии
>> нового сеанса инициализируется подключение к соответствующему серверу.
>> Т.к. я могу долгое время не начинать работу с данным сервером,
>> соединение завершается по таймауту и приходится снова начинать новый
>> сеанс. Хочу сделать запуск подключения в цикле в дочернем процессе.
>> В качестве команды для сеанса стоит
>> bash -c "while true; do (bash -c 'ssh user@server')"
>> Однако сеанс всё равно завершается, если на удалённой машине удалить
>> соответсвующий sshd-процесс. Т.е, как я понимаю, сигналы посылаются не
>> дочернему, а родительскому процессу.
>> Жду ваших предложений.
>>
>>
> сгенерите себе ключик (ssh-keygen), разложте (ssh-copy-id) по удаленным
> серверам ответную часть и ssh user@server будет туда тихо спокойно
> заходить не ожидая пароля, и соответственно не валясь по таймауту.
>
>
Для безопасности ключики для некоторых серверов сгенерированы с запросом
парольной фразы. Поэтому хочу сделать что-то вроде цикла.
--
С уважением,
Шигапов Ринат
инженер-программист ООО "Невод"
next prev parent reply other threads:[~2008-12-12 8:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-12 5:53 [Comm] Сеансы в konsole Шигапов Ринат
2008-12-12 6:32 ` Andrey Chichak
2008-12-12 8:09 ` Шигапов Ринат [this message]
2008-12-12 8:46 ` [Comm] !50=AK 2 konsole 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=49421C30.4080104@nevod.ru \
--to=srk@nevod.ru \
--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