Le 30/03/2026 à 12:30, Didier Kryn a écrit :
> Le 29/03/2026 à 16:44, R A Montante, Ph.D. via Dng a écrit :
>>> Date: Sun, 29 Mar 2026 01:25:52 +1100
>>> From: Tom<wirelessduck@???>
>>> Subject: [DNG] Using ssh-agent in multiple logins
>>>
>>> I'm trying to learn how to use ssh-agent. I followed the instructions
>>> athttps://www.ssh.com/academy/ssh/agent.
>>>
>>> I have a remote machine that I login to over ssh from my desktop and
>>> want to run ssh-agent on this remote machine for further connections to
>>> other machines in a remote network.
>>
>> Perhaps I'm missing the point --- are you trying to login to other
>> remote machines, or understand "ssh-agent"? If the goal is to login
>> to other remote machines, you can configure the "first" remote ssh
>> daemon to forward connections to other ones. I used this to tunnel
>> through a firewall when I had one Internet-visible machine and a set
>> of internal-only machines.
>>
>>
> Yes. And you can do that by editing ~/.ssh/config
>
>
Example:
Host *
PubkeyAuthentication yes
ForwardAgent yes
ForwardX11 yes
StrictHostKeyChecking no