Open micsuka opened 3 years ago
This seems to work, if use ssh-add
:
ssh-agent
is running.
ssh-agent > agent.env
. agent_env
ssh-add -s $PREFIX/lib/libtergent.so
It asked me for a PIN, but just the empty prompt was sufficient. Not sure if there is a way to avoid this.
ssh-add -l
should list this key.
You can now use ssh -A
, and continue on the other server, and it will require your fingerprint!
You do not have to pass -I $PREFIX/lib/libtergent.so
to ssh
at this point.
These steps have to be repeated in a new session, but can probably be put in some startup script, maybe based on https://www.reddit.com/r/termux/comments/10bqclm/comment/j4kk377/?utm_source=reddit&utm_medium=web2x&context=3.
first of all, tergent just works well for me, I use it with automatic key locking, thanks for it.
However, when I try to use agent forwarding with
ssh -A ...
from termux, it does not work. I couldn't find any pointer about this. Sometimes it's needed to do an ssh from the server where I sshed. :)thanks