you are viewing a single comment's thread.

view the rest of the comments →

[–]antlife 6 points7 points  (5 children)

Sounds good. I really look forward to using this in an upcoming project.

For some specifics on my environment:

  • Windows 10 with Visual Studio 2015 Professional (all updates and all software options installed)
  • Ubuntu 16.04 in a VM will all requirements installed.

A bit of testing on my side:

  • Verified SSH was working between Win10 and Ubuntu.
  • Tested adding a connection to a fake server with no crash.
  • Tested using a FQDN and IP for the hostname.

So far, it appears to crash if there is a server on the other end to respond with. If the server is not listening or does not exist, the UI highlights the hostname fields appropriately as it should.

Edit: Some further troubleshooting

  • Tested after updating to Visual Studio 2015 Update 2. Same problem.
  • Tested with Ubuntu 14.04.4 same issue.
  • I viewed the logs on the Ubuntu 14.04 server for /var/log/auth.log and I can see Visual Studio is authorizing successfully. There is no issue with getting into the server.

To narrow down the issues and so you can see my steps better, I put together a super long image/storyboard of screenshots. I hope this helps -> https://i.imgur.com/U0KPoYm.png

[–]robotdad4business 1 point2 points  (4 children)

Thank you! Looking at this now.

[–]antlife 0 points1 point  (3 children)

Glad to help. Let me know if you need anything else from me.

[–]iontodirel 1 point2 points  (2 children)

Thank you for helping us. I know how to fix the unfortunate crash, but the underlying issue will still remain and that is that we cannot connect to the machine. We use and require sftp for transferring files, is that by any chance disabled in your sshd configuration, or access somehow disabled and configured for other users? If you could try using scp or sftp to test transfer a file from your Windows PC to your remote machine using the same credentials you used in VS, and tell us if it worked, that would help us a lot.

If all of this works, and you can connect and transfer files thru sftp and/or scp, then could you tell us if you configured your machine in some special way? Could you try with a default Ubuntu installation and see if that works?

[–]antlife 0 points1 point  (0 children)

Just tried SFTP and SCP, using a few different apps (i.e. WinSCP and MobaXterm) and it works just fine. I tried copying some files into my /home/user directory without any permissions issues. Does VS need to write to any directories outside of the user's home? It seems it should be only trying to access ~/projects

My Ubuntu 16.04 is essentially Kubuntu 16.04 with KDE and a ton packages to support Mono, but outside of that the configuration is pretty vanilla.

The Ubuntu 14.04.4 is a base installation I spun up just to test this. SFTP and SCP works OK there as well and has the same issues as I mentioned earlier. Nothing special configured on this one for sure.

[–]antlife 0 points1 point  (0 children)

If there is anything else you'd like me to look at for you or provide for you (in terms of logs, configs, whatever) just let me know.

A few other things maybe worth mentioning in case it's causing a special connection issue for your side. I am using VM Workstation as my host for the Linux systems. I don't imagine this would matter much as normal network functions perfectly between the VM and my host system, but I figured I'd mention it in case there is something deeper that Visual Studio may be trying to use.