[jbosstools-issues] [JBoss JIRA] (JBDS-3671) sshd needs to be installed and started

Denis Golovin (JIRA) issues at jboss.org
Tue Mar 15 16:42:00 EDT 2016


    [ https://issues.jboss.org/browse/JBDS-3671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13177415#comment-13177415 ] 

Denis Golovin commented on JBDS-3671:
-------------------------------------

cygwin setup was removed and I have not restored it yet. I'll do it ASAP today, so I can point you out to the source. In short it does .msi setup as external process and then run shell script to add cygwin/bin to PATH. Here the [link to the version|https://github.com/redhat-developer-tooling/developer-platform-install/blob/f0c218e6f83c00e06f3ae85dfa7933168462b5e0/browser/model/cygwin.js#L62] before it was replaced with mingw. 

Silent cygwin setup issue is JBDS-3632, it supposed to run msi as it does but without ui at all and use downloaded repository with packages. it means we still use the same command line, but with couple more options.

> sshd needs to be installed and started
> --------------------------------------
>
>                 Key: JBDS-3671
>                 URL: https://issues.jboss.org/browse/JBDS-3671
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Feature Request
>          Components: installer
>            Reporter: Hardy Ferentschik
>              Labels: havoc
>             Fix For: 9.1.0.CR1
>
>
> As parts of the Docker story we need to be able to mount the users home directory into the VM (as docker-machine does as well). Only this way the user can then use Docker mounts to mount for example project directories into a Docker container.
> docker-machine uses the vbguest additions for that, but we still need to determine whether this is possible for us due to potential licensing issues. 
> An alternative approach is to use [sshfs|https://github.com/dustymabe/vagrant-sshfs/] and use ssh to mount the user's home directory into the VM. sshfs, however, requires a running sshd on the host. On Windows I am aware of two ways of doing that
> * Cygwin - http://docs.oracle.com/cd/E24628_01/install.121/e22624/preinstall_req_cygwin_ssh.htm#EMBSC150
> * Win32-OpenSSH - https://github.com/PowerShell/Win32-OpenSSH
> I think the Windows ssh port would be the preferred solution, however, when testing it, the connection failed when using sshfs. I was able to simple ssh from the guest (CDK) to the host (Windows), but when using sshfs the connection would just abort. More investigation is required for using vagrant-sshfs with  Win32-OpenSSH. It might just be that the Windows port is not fully functional which would leave use with the cygwin approach.
> Bottom line, if we want to use the sshfs approach as an alternative for vbguest additions, we need to get sshd installed one way or the other.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list