found the probleM.

I Forgot to set ForwardAgent in the 1st ssh command.

Sorry.

2016-08-25 18:45 GMT+02:00 jean-yves boisiaud <
jean-yves.boisi...@alcor-consulting.fr>:

> Hello,
>
> I am running openbsd 5.7 and openssh 6.8.
>
> I set a restricted shell (rksh) to run only ssh. It works.
>
> In the restricted shell command directory, I added also links to command
> ssh-agent and ssh-add.
>
> But, SSH_AUTH_SOCK is not set (and /tmp/ssh-XXXX does not exist), so I
> must use password authentication.
>
> How could I use agent authentication with ssh when I am in a restricted
> shell ?
>
> ​Thanks for your help.​
>
> --
> Jean-Yves Boisiaud - Alcor Consulting
> 24, rue de la Glycine
> 49250 Saint Remy la Varenne
> mobile : +33 6 63 71 73 46  fixe : +33 9 72 41 19 35
>



--
Jean-Yves Boisiaud - Alcor Consulting
24, rue de la Glycine
49250 Saint Remy la Varenne
mobile : +33 6 63 71 73 46  fixe : +33 9 72 41 19 35

Reply via email to