Groups | Search | Server Info | Login | Register


Groups > fr.comp.os.linux.configuration > #28852

Re: Mais qui lance sshrc ?

From Benoit Izac <use.reply.to@INVALID.ADDRESS>
Newsgroups fr.comp.os.linux.configuration
Subject Re: Mais qui lance sshrc ?
Date 2015-08-30 19:30 +0200
Message-ID <874mjg3crd.fsf@izac.org> (permalink)
References <mrthvc$nr9$1@serveur2.novazur.fr> <87mvx92kmv.fsf@izac.org> <mrvd8o$5ms$1@serveur2.novazur.fr>

Show all headers | View raw


Bonjour,

Le 30/08/2015 à 19:07, Christophe PEREZ a écrit dans le message
<mrvd8o$5ms$1@serveur2.novazur.fr> :

> Le Sun, 30 Aug 2015 11:25:28 +0200, Benoit Izac a écrit :
>
>>> La question est un peu bête, mais j'avoue que j'en profite pour tester
>>> si ma mise à jour de pan poste bien vers mon serveur INN :)
>>
>> Il semblerait que non.
>
> Ben si, puisque tu lis...

Path: [...]!cleanfeed4-a.proxad.net!nnrp2-1.free.fr!not-for-mail

On ne voit pas ton serveur dans le path de ton message (à moins que tu
sois le propriétaire de nnrp2-1.free.fr).

>>> Mais j'ai beau chercher dans les /etc/ssh/ssh*_config, ou /home/*/.ssh/
>>> {rc,config,ou autre}, je ne trouve nulle part l'appel à ce script.
>>> Auriez-vous une idée d'où il peut se cacher ?
>>
>> man sshd, chercher sshrc.
>
> Justement, c'est suite à ces lectures, ne trouvant pas ou se fait, dans
> mon contexte, l'appel de mon script sshrc, que je suis venu poster...

man sshd

LOGIN PROCESS
[...]
  8.     If  ~/.ssh/rc  exists and the sshd_config(5) PermitUserRC option
         is set, runs it; else if /etc/ssh/sshrc exists, runs it;
[...]
SSHRC
   If  the file ~/.ssh/rc exists, sh(1) runs it after reading the environ‐
   ment files but before starting the user's shell or  command.
[...]
   If this file does not exist, /etc/ssh/sshrc is run, and  if  that  does
   not exist either, xauth is used to add the cookie.

Je ne comprends pas ce que tu ne comprends pas...

--
Benoit Izac

Back to fr.comp.os.linux.configuration | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Mais qui lance sshrc ? Christophe PEREZ <chris@novazur.fr> - 2015-08-30 00:15 +0000
  Re: Mais qui lance sshrc ? Benoit Izac <use.reply.to@INVALID.ADDRESS> - 2015-08-30 11:25 +0200
    Re: Mais qui lance sshrc ? Christophe PEREZ <chris@novazur.fr> - 2015-08-30 17:07 +0000
      Re: Mais qui lance sshrc ? Doug713705 <doug.letough@free.fr> - 2015-08-30 19:14 +0200
      Re: Mais qui lance sshrc ? Benoit Izac <use.reply.to@INVALID.ADDRESS> - 2015-08-30 19:30 +0200
        Re: Mais qui lance sshrc ? Christophe PEREZ <chris@novazur.fr> - 2015-08-30 21:39 +0000

csiph-web