janmojzis / tinyssh

TinySSH is small server (less than 100000 words of code)
Creative Commons Zero v1.0 Universal
1.43k stars 78 forks source link

Agent forwarding #30

Closed jailbird777 closed 3 years ago

jailbird777 commented 6 years ago

Are there any plans to add support for authentication agent forwarding?

I have a herd of SBCs (perfect for TinySSH) that I sometimes have to access via bastion. Currently the only way to access them would be to put the private key on the bastion, which is less than ideal.

1Hyena commented 6 years ago

@jailbird777 have you looked at my pull request?

https://github.com/janmojzis/tinyssh/pull/29

could this be useful for you?

jailbird777 commented 6 years ago

@1Hyena

Your PR is useful for another project of mine (SSH enabling an old telnet FOSSIL BBS), but sadly doesn't replace the need for agent forwarding.

1Hyena commented 6 years ago

@jailbird777 ah yes, apparently I had no idea what agent forwarding was :grin: but now when I look at it it seems as a very convenient feature to have. If only I knew how it's typically implemented I could say how likely it is to have tinyssh support it, but I don't. So, let's hope @janmojzis answers you soon.

janmojzis commented 3 years ago

Hello, "agent forwarding" is not implented in TinySSH. And I'm not planing to add this feature.

manual page updated: https://github.com/janmojzis/tinyssh/blob/4266d70ed2ab50e6d349bf405f5913e324f8f21e/man/tinysshd.8#L22