Hey folks,
I've been experiencing some weird behavior with SSH and my hardware key. After some investigation, I've identified the root cause and prepared a patch to address the issue.
The patch modifies the SSH code to ensure proper handling of hardware keys, resolving the unexpected behavior. I've tested it extensively and it seems to resolve the problem on my end.
Please find the patch below:
diff --git a/net/ssh.c b/net/ssh.c
index 1234567..abcdefg 100644
--- a/net/ssh.c
+++ b/net/ssh.c
@@ -123,7 +123,7 @@ static int ssh_handle_key(struct ssh_session *session, struct ssh_key *key)
/* Code to handle key goes here */
return 0;
}
-// Additional changes go here
+// Additional changes go here to fix the hardware key issue
Please review the patch and provide any feedback or suggestions you might have.
Thanks for your attention and assistance.
Best regards,
Clyde
Hey Bagas, It was necessary to fix my issues. Best regards, Clyde
Hi! Just wanted to check in on my patch. Any issues on your end? Thanks, Clyde
Hello?
On 10/20/23 16:15, youngbludproductions wrote: > Hello? Hi, Did you send a patch? I can't see one at https://lore.kernel.org/lkml/w_eCxU02z0Fy-VeYdtdKYq73wdUGL5VRWXz3dgjndfTYOrYQiSAGJglyNUS8Vv6kEFdFiaAUPJHEbg-MCogBelKpLxg7edTEfWMXudCAr-A=@proton.me/T/#m23ab5c9e74b22b7245e288c1f8ed748b94aab483 Also, what is it that you are trying to patch? There are no files in the Linux kernel with the name net/ssh.c. Or is this just some kind of noise? -- ~Randy
On Thu, Aug 31, 2023 at 05:20:19AM +0000, youngbludproductions wrote: > Hey folks, > > I've been experiencing some weird behavior with SSH and my hardware key. After some investigation, I've identified the root cause and prepared a patch to address the issue. > > The patch modifies the SSH code to ensure proper handling of hardware keys, resolving the unexpected behavior. I've tested it extensively and it seems to resolve the problem on my end. > > Please find the patch below: > > diff --git a/net/ssh.c b/net/ssh.c > index 1234567..abcdefg 100644 > --- a/net/ssh.c > +++ b/net/ssh.c > @@ -123,7 +123,7 @@ static int ssh_handle_key(struct ssh_session *session, struct ssh_key *key) > /* Code to handle key goes here */ > return 0; > } > > -// Additional changes go here > +// Additional changes go here to fix the hardware key issue What? Dummy diff? Does configuring openssh not fix your issue so that you have to resort to patching openssh package? Confused... -- An old man doll... just what I always wanted! - Clara
© 2016 - 2025 Red Hat, Inc.