all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: reza <reza@housseini.me>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: User not detected when calling shell in remote dired
Date: Tue, 16 Apr 2024 11:37:29 +0000	[thread overview]
Message-ID: <0102018ee6b29e82-53295af3-c8c1-4b69-9090-0acde62232ca-000000@eu-west-1.amazonses.com> (raw)
In-Reply-To: d1fced84-f0a7-a893-fb95-36f6b3b3a03e@housseini.me

Hi all

When I open a remote folder with dired C-x d /ssh:myuser@myremote and 
call M-x shell there, emacs displays in the minibuffer

Remote shell path: /ssh:nil@myremote:/bin/sh

and I have to manually override my user. How can I instruct emacs to 
pick the correct user or even pick up the user from my ~/.ssh/config file?

And is there also a possibility to change the default remote shell?

Thanks for any help!

Best,
Reza



       reply	other threads:[~2024-04-16 11:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <d1fced84-f0a7-a893-fb95-36f6b3b3a03e@housseini.me>
2024-04-16 11:37 ` reza [this message]
2024-04-17  7:16   ` User not detected when calling shell in remote dired Michael Albinus
     [not found]     ` <3b9859c8-2eec-0c03-387c-7425acb8a122@housseini.me>
2024-04-17  9:32       ` reza

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=0102018ee6b29e82-53295af3-c8c1-4b69-9090-0acde62232ca-000000@eu-west-1.amazonses.com \
    --to=reza@housseini.me \
    --cc=help-gnu-emacs@gnu.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.