help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tramp prompt (?) issue


From: Emanuel Berg
Subject: Re: Tramp prompt (?) issue
Date: Sat, 01 Aug 2020 00:20:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

2QdxY4RzWzUUiLuE wrote:

>>> What do you see, if you call manually # ssh -l
>>> embe8573 -o ControlMaster=auto -o
>>> ControlPath='tramp.%C' -o ControlPersist=no -e
>>> none polhem.it.uu.se
>>
>>  $ sudo ssh -l embe8573 -o ControlMaster=auto -o
>> ControlPath='tramp.%C' -o ControlPersist=no -e none
>> polhem.it.uu.se Password: *** Last login: Fri Jul
>> 31 21:48:18 2020 from c-fd84225c.021- .Z. ls
>
> [...]

> With that disclaimer out of the way, why are you
> running ssh under root and/or sudo, and do you get
> different results if you don't? Are you running emacs
> as root, or under sudo, or as a regular user? I ask
> because very often root has an entirely separate set
> of rules for remote access, on both client and
> server, and sudo can add its own permission and
> environment related issues.

You are right, let's try it without 'sudo' ...

The same, it seems.

$ ssh -l embe8573 -o ControlMaster=auto -o
  ControlPath='tramp.%C' -o ControlPersist=no -e none
  polhem.it.uu.se

Password: ***
Last login: Fri Jul 31 21:49:36 2020 from c-fd84225c.021-
.Z

. = ESC

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]