![]() Then use the following shell script on the Linux side: #!/bin/bash WinWaitActive, %TokenName% - RSA SecurID Token, IfWinNotActive, %TokenName% - RSA SecurID Token,, WinActivate, %TokenName% - RSA SecurID Token, WinWait, %TokenName% - RSA SecurID Token, Run, "C:\Program Files\RSA SecurID Software Token\SecurID.exe" You will also need AutoHotKey and PsExec.Ĭompile the following AHK script on the Windows machine (I put the resulting exe at C:\Program Files\RSA SecurID Software Token\rsa-securid.exe): TokenName = %1% I used freesshd as the SSH server in Windows. To do this you need a Windows machine that you can access via SSH with the RSA software installed. I wrote a script that will SSH into a Windows machine, launch the RSA app, enter your PIN, copy the result, and put it in the clipboard of your local Linux machine. So, instead, I created a totally insane solution to this problem. Personally, I'm too lazy to pick up my phone, open the RSA app, enter my PIN, and then type it into the login page.
0 Comments
Leave a Reply. |