X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0A3083854826
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1692308334;
	bh=BTKN9zBQfuYjDC4FzSULXdVja1FiIKkeF7vHkh6bpOk=;
	h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=fEvhUdu/lhLft/K0eZG7ucK2VHKDnJEvkhCNrWgAILMwYTtDDgjdaDyvj5VhU52sc
	 0dzlacu5/GCQU2an6/4qoSqsUftf1YXNVJRmy3THOtGHpK/W8CWQhfi+XXTFcfyrsY
	 yUNkJb5uZ79sTRMYNP0x11fnx83vdQRUZED9TZHE=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6F1B23858D20
Date: Thu, 17 Aug 2023 21:38:35 +0000
To: Cedric Blancher via Cygwin <cygwin@cygwin.com>
Subject: Re: Persistent and same Cygwin session for Windows login and ssh
 login?
Message-ID: <l4z5bl3jzl2iekxcwydwz5jbideoiy2gp7zcfivfqum3gu4zij@xurgkvj6wfem>
Mail-Followup-To: Cedric Blancher via Cygwin <cygwin@cygwin.com>
References: <CALXu0Ue+k0QmaKYu6Zffc4i2jSPBpTndemeVhc-ndLcXMVw_RA@mail.gmail.com>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <CALXu0Ue+k0QmaKYu6Zffc4i2jSPBpTndemeVhc-ndLcXMVw_RA@mail.gmail.com>
User-Agent: NeoMutt/20230407
X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
 SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Dr Bean via Cygwin <cygwin@cygwin.com>
Reply-To: Dr Bean <drbean@freeshell.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

On Thu, 17 Aug 2023, Cedric Blancher via Cygwin wrote:

> Good evening!
> 
> How can I get a Cygwin session for one Windows login, and get the same
> Cygwin session when I log into the same Windows machine via ssh?


Following 
https://learn.microsoft.com/ja-jp/windows-server/administration/openssh/openssh_server_configuration

and substituting cygwin bash's
path for powershell's, I get
a cygwin bash shell.

But $HOME is Window's and .bashrc
is not executed.

Let me see if I can set HOME.

> 
> Also, where does Cygwin store session information?
> 
> Ced
> -- 
> Cedric Blancher <cedric.blancher@gmail.com>
> [https://plus.google.com/u/0/+CedricBlancher/]
> Institute Pasteur
> 
> -- 
> Problem reports:      https://cygwin.com/problems.html
> FAQ:                  https://cygwin.com/faq/
> Documentation:        https://cygwin.com/docs.html
> Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
-- 
Greg Matheson          Theory and practice. In theory, they are the same thing.
http://drbean.sdf.org  In practice, they are different.
drbean@freeshell.org   --https://quoteinvestigator.com/2018/04/14/theory/

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
