ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alex Yustasov <yust@anti-leasure.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] sshd
Date: Sun, 18 Dec 2005 23:06:34 +0200
Message-ID: <20051218210634.GB6828@yust.work> (raw)
In-Reply-To: <1134897057.4885.13.camel@localhost>

On Sun, Dec 18, 2005 at 12:10:57PM +0300, Peter Volkov wrote:
> Доброе время.
> 
> On Вск, 2005-12-18 at 01:24 +0200, Alex Yustasov wrote:
> > On Sun, Dec 18, 2005 at 01:59:17AM +0300, Odergimiy wrote:
> > > Скажите плиз. допустим я подключился по ssh  к своему компу запустил там 
> > > какуето прогу, и как только я закрываю ssh  соединение, она прекращяет свою 
> > > работу, т.е. моя консоль закрывается, как сделать так чтоб она не закрывалась 
> > > и все продолжало работать.
> 
> > Запускать 
> > <команда> >& /dev/null &
> > 
> > Или запустить, нажать CTRL-Z, в командной строке
> > bg %1
> > 
> > Только без никаких mc, и по exit ssh соединение не разрывается.
> 

Я так оставляю собираться на ночь ядра, модули, или кодирую видео.
Скрипт в котором вызываются buildkernel-hsh, buildmodules-hsh.
Для видео transcode, mplex. Главное чтобы ничего не отсвечивало,
Про nohup я не знал.

> Что-то я не пойму, как запуск команд в интерпретаторе связан (или не
> связан) с mc. 

При выходе из mc все, что было в нем запущено, прибьется.

> 
> Но в любом случае, запущенная, выше описанным способом, задача умирает
> при выходе. Чтобы это не происходило надо запускать:

> 
> nohup <команда> &
> ^^^^^
> 
> Правда в openssh есть старый баг. Он заключается в том, что после
> запуска этой команды всё равно, чтобы выйти надо будет прибивать висящую
> сессию. Но в отличие от предыдущего способа команда будет выполнена до
> конца. Кстати интересно этот баг в altlinux'е воспроизводиться?

Кажется есть такое.

-- 
    Alex Yustasov



  parent reply	other threads:[~2005-12-18 21:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-17 22:59 Odergimiy
2005-12-17 23:18 ` sergey ivanov
2005-12-17 23:24 ` Alex Yustasov
2005-12-18  9:10   ` Peter Volkov
2005-12-18 13:49     ` Anatoliy Lisjutin
2005-12-18 21:06     ` Alex Yustasov [this message]
2005-12-19  6:16       ` Maxim Bodyansky
2005-12-19  7:46         ` Peter Volkov
2005-12-19  8:14           ` Evgenii Terechkov
2005-12-19 22:47     ` Dmitry V. Levin
2005-12-18  9:58 ` Yura Kalinichenko
2005-12-19  1:58 ` Denis G. Samsonenko

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=20051218210634.GB6828@yust.work \
    --to=yust@anti-leasure.ru \
    --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