SSH Open Connection hangs after update to 8.0.0.2083

Hi,

I’m using SSH to open a connection to my Mac. This was working for years. Yesterday I uograded to 8.0.0.2083 and now “SSH Open Connection” hangs. I tried it several times, rebooted my Mac and my build machine. The only way to stop is closing Finalbuilder two times.

The log does not reveal any errors:

SSH Open Connection - [MartinsMacMini]
Status:
Date: 08.03.2017
Time: 11:02:57:970
End: 00:00:00:000
Duration: 11:02:57:970

Action Messages:
Initiating SSH connection to MartinsMacMini for xxxx on port 22
Server key received, fingerprint 169a4d8d78adc0ece9915a6e4df20f91
Authentication successful

And now it hangs.

regards
Martin

I’m back on 8.0.0.2007 and it’s working again. So definitely a problem in 2083. The difference is:

SSH Open Connection - [MartinsMacMini]
Status:
Date: 08.03.2017
Time: 11:07:38:237
End: 11:07:44:429
Duration: 00:00:06:192

Action Messages:
Initiating SSH connection to MartinsMacMini for xxxx on port 22
Server key received, fingerprint 169a4d8d78adc0ece9915a6e4df20f91
Authentication successful
A connection was opened to MartinsMacMini for user ‘xxxx’

Hi Martin,

We believe we have found the issue, please use the following release and let us know if your issue has been resolved or not.

http://downloads.finalbuilder.com/downloads/finalbuilder/800/FB800_2094.exe

Hi Jason,

thanks for the quick fix. It’s basically working again but there’s still an issue.

I’m unlocking my keychain to run a git pull.

The git pull does now fail with
fatal: could not read Password for ‘https://yyy@xxxx.com’: Device not configured

This indicates that git (and the ssh session) is not connected to a tty. So git has no chance to get a password.

Build 2007 is still working.

Hi Martin Rothschink,

I have removed some code that affects the echo status of the tty we use. Please let me know whether this addresses the issue for you. If it does I will need to add an option for this feature, as it is required for how other people use the ssh actions.

http://downloads.finalbuilder.com/downloads/finalbuilder/800/FB800_2096.exe

Hi Jason,

Unfortunately issue is not fixed in build 2096.

Hi Martin,

Any change in the error message your receiving?

No, same error.

Any progress?

Hi Martin Rothschink,

I will be looking into this again today. If you could provide any other information you have about your setup that would be greatly appreciated. Most importantly would be the connection information (server type, and version) so that we could setup a more realistic test case here.

Thank you.

Hi Martin Rothschink,

Still testing this today. Having the details with regards to the version of software your using would be greatly appreciated. Currently I am unable to reproduce what your seeing. If you could also include the git command line your running, and also the method for how your authenticating that would be very handy.

Thanks

I’m running against the standard SSH of macOS Sierra to execute a build process on my Mac.
The commands are briefly:
- unlock keychain (security unlock-keychain -p “%password%”)
- mount a network share
- update repository (git pull)
- update language files
- run xcodebuild
- make package
- copy package to share

I have configured git to use the keychain. Git version on the mac is 2.10.0.


Martin Rothschink,

I have re-implemented the terminal emulator, and we now do handling of terminal character codes. Please find a beta of this update below.

http://downloads.finalbuilder.com/downloads/finalbuilder/800/FB800_2107.exe

Testing here has shown the issue with mac os ssh server to have been addressed with the update. With the re-implementation of the terminal emulator commands like git, and security unlock-keychain work as if you were interacting with the console yourself.

Thanks Jason,

yes I can confirm it’s working again.

Hi Martin Rothschink,

I will perform more testing on this and then release officially. I need to test against some other commands on openssh server, and windows servers like bitvise. I will let you know when I have completed my full series of tests. Currently I have tested a number of versions of openssh server with simple commands, and Mac OSX ssh server with the workflow you have listed as well as simple commands.

Hi Martin,

The latest official release with the updated changes to SSH client actions are available in the following build.

http://downloads.finalbuilder.com/downloads/finalbuilder/800/FB800_2116.exe

Hi Jason,

thanks for the official build. I have tested it and everything is working as expected.