delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/07/24/08:35:40

DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 46OCZdBb3487809
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=n2R9UxX4
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D5FC63857C4F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1721824537;
bh=x4WZarLpjUr30iUEvZMTUgiDzJPXkX0l8JtTMao0t70=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=n2R9UxX4/rn82v6rdqLwbozEako+rBeC4/sUy7p/FGg0V/aQ9B27rb3T2IoDBdBjO
g2K2n7pb7GKAKV5qO1h4PMMmGFolkxWanQHydz/1lbbgP5kFEoO/BugqTcqOVgbsjM
LTPsQpNJyPn185+IUMNfK8ZTjUWlehfI9sVJcb/Q=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A388E385842D
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A388E385842D
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1721824514; cv=none;
b=bU57Dz+m7dYvoSQrAZQNT1qqgmiZKOs9yms8RgfGGAMjzQDWSAMnOkTv4KDLuxW6L7l/ZSZ5xFal5RjY8lgsEChfzexrnyD7BPtdwClViGzAhsWKrJWgiOWNj/BU+I7Yh7gmwlgjV0Z8T1iMl6f7FQpi+U45+60HipFp7Jg4ZcY=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1721824514; c=relaxed/simple;
bh=6cuWtNV37ZSc9Mce9NFjjynp/CyH7oVXXIXNUb+4dYY=;
h=DKIM-Signature:Date:From:Message-ID:To:Subject:MIME-Version;
b=WqJQ3+Qt7IH2RzzlTzKRPeGblPVYa/PqpHSW0O18JS9iBkQidtqApFQp0guOYK6vKk7oloSSaPUcguiMD9ScoZvnfGiFqDCZ2ZYytRhtTo6Alb3I3pAM/49Nwe9rpZPYc2ro2TjnCqqMUGHW+Vql0jTKUbw31zXKMMItfkU6omc=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Yandex-Fwd: 1
Date: Wed, 24 Jul 2024 15:20:37 +0300
X-Mailer: The Bat! (v9.3.4) Professional
Message-ID: <1513492990.20240724152037@yandex.ru>
To: Adrian Breten <Adrian DOT Breten AT cegeka DOT com>, cygwin AT cygwin DOT com
Subject: Re: Changing Default SSH Directory to E:\ in Cygwin
In-Reply-To: <DB7PR09MB2489490AC4FEEE3834F61CD38EAA2@DB7PR09MB2489.eurprd09.prod.outlook.com>
References: <DB7PR09MB2489490AC4FEEE3834F61CD38EAA2 AT DB7PR09MB2489 DOT eurprd09 DOT prod DOT outlook DOT com>
MIME-Version: 1.0
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT,
NICE_REPLY_A, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP,
XM_LIGHT_HEAVY autolearn=no 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 AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Andrey Repin via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Andrey Repin <anrdaemon AT yandex DOT ru>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

Greetings, Adrian Breten!

> Hello,

> I am seeking assistance with configuring Cygwin to change the default
> directory when I SSH into my Windows machine.

> Currently, I have Cygwin installed on a Windows server 2016 machine on
> E:\Cygwin64. When I SSH into this machine, the default directory is set to
> `C:\`. However, I would like to change this so that I land in the `E:\` drive instead.

> I have tried looking into SSH configuration files and user profiles but
> have not been successful in making this change. Could you please provide guidance on how to achieve this?

> Any help would be greatly appreciated.

1. Make sure you are connecting to Cygwin's SSH, not Windows one.
This is likely what happens as Cygwin would have put you into your home
directory instead.


-- 
With best regards,
Andrey Repin
Wednesday, July 24, 2024 15:19:37

Sorry for my terrible english...


-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019