From: gwenhael <gwenjo@free.fr>
To: gentoo-user-fr@lists.gentoo.org
Subject: Re: [gentoo-user-fr] Restriction ssh sur un sous domaine
Date: Sun, 17 Feb 2008 15:04:33 +0100 [thread overview]
Message-ID: <20080217150433.7e341f7d@omniBook> (raw)
In-Reply-To: <47B83F3E.8080202@garault.org>
On Sun, 17 Feb 2008 15:05:50 +0100
Christophe Garault <christophe@garault.org> wrote:
> gwenhael a écrit :
> > Bonjour,
> > Le problème est que je ne souhaite pas bloquer les connections de personnes qui ne font pas parties d'un domaine particulier.
> > Pour être plus clair avec apache, j'ai configuré l'accés à phpmyadmin
> > sur un virtualHost correspondant à UnSousDom.monDomaine.tld,
> > Ainsi si je fais UnSousDom.monDomaine.tld/phpmyadmin dans mon navigateur j'y ai accès.
> > Mais si je fais www.monDomaine.tld/phpmyadmin j'ai un 404 parce qu'il n'est pas accessible.
> > Je cherche à faire exactement la même chose pour ssh (entre autre).
> > Ainsi où que je sois si je me connecte en ssh avec le bon sousDomaine.domaine.tld ca roule sinon ca marche pas
> >
> Hello,
>
> A ma connaissance c'est tout simplement impossible car non prévu dans le
> protocole ssh. En effet quel que soit le FQDN que tu indiqueras pour te
> connecter il sera immédiatement changé en adresse IP par le résolveur
> DNS du client. Ce que tu décris pour Apache correspond à la commande
> Host que le serveur utilise pour savoir par qui et comment traiter la
> demande.
> Ceci étant je serais très curieux de savoir pourquoi tu désires un tel
> comportement pour ssh?
>
> --
> Christophe Garault
>
Salut,
Bon si je veux faire ce genre de machin faut que je me tape un petit alias d'ip :)
En fait j'aimerais faire ça d'une part parce que je suis très curieux de pousser les choses, ensuite pour réduire un peu tout le spam à la c.. sur ssh et sur les mails.
A+ Gwenhaël
-------
http://www.trabucayre.com
Arsenic et vieilles ferailles
--
gentoo-user-fr@lists.gentoo.org mailing list
next prev parent reply other threads:[~2008-02-17 14:09 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-16 13:47 [gentoo-user-fr] Restriction ssh sur un sous domaine gwenhael
2008-02-16 22:25 ` Frenk
2008-02-17 8:48 ` gwenhael
2008-02-17 9:31 ` gwenhael
2008-02-17 10:40 ` Guillaume BOUERAT
2008-02-17 13:29 ` gwenhael
2008-02-17 14:05 ` Christophe Garault
2008-02-17 14:04 ` gwenhael [this message]
2008-02-17 14:15 ` Christophe Garault
2008-02-17 14:17 ` gwenhael
2008-02-17 15:11 ` [gentoo-user-fr] " Stephane Bortzmeyer
2008-02-17 15:25 ` Christophe Garault
2008-02-17 15:31 ` Stephane Bortzmeyer
2008-02-17 17:32 ` Christophe Garault
2008-02-17 20:15 ` Stephane Bortzmeyer
2008-02-17 22:19 ` Pierre Bellan
2008-02-17 22:24 ` Christophe Garault
2008-02-18 10:27 ` Frenk
2008-02-17 13:29 ` [gentoo-user-fr] " Frenk
2008-02-17 13:40 ` Cédric Godin
2008-02-17 13:44 ` gwenhael
2008-02-17 14:22 ` Grégoire Baron
2008-02-17 15:10 ` [gentoo-user-fr] " Stephane Bortzmeyer
2008-02-17 15:05 ` Stephane Bortzmeyer
2008-02-17 17:13 ` gwenhael
2008-02-17 17:31 ` Carmine Chiancone
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=20080217150433.7e341f7d@omniBook \
--to=gwenjo@free.fr \
--cc=gentoo-user-fr@lists.gentoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox