Re: Restrizioni su jumphost

Giuseppe Sacco <[email protected]>
Newsgroups gmane.linux.debian.user.italian
Message-ID <[email protected]>
Ciao Diego,

Il giorno gio, 15/05/2025 alle 06.54 +0200, Diego Zuccato ha scritto:
[...]
> Il problema è che attualmente non posso limitare U1 in modo che si 
> connetta solo a H1 tramite JH. Certo, su H2 posso bloccare U1, ma è
> una 
> situazione più complessa da gestire quando ci sono molti host e molti
> utenti...

Per ogni utente, hai provato a cambiare PATH nel .bash_profile del
jumphost in modo che il comando ssh richiamato non sia quello in /bin,
ma un tuo script nel quale fai il controllo sull'host di destinazione?

Ciao,
Giuseppe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.