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

Hardy Ferentschik (JIRA) issues at jboss.org
Mon Mar 14 07:56:00 EDT 2016


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

Hardy Ferentschik commented on JBDS-3671:
-----------------------------------------

{code}
this pacman worked for me and sshd -h would print out help text.
{code}

Ok, I did the same thing and it installs the binary. However, it does not install sshd as a service. I tried this gist - https://gist.github.com/samhocevar/00eec26d9e9988d080ac, but it did not work out of the box (still investigating).

The question here is really, does installing msys2 not introduce yet another unix-style environment? Is the whole point not to avoid installing things like cygwin & co? 

Also, trying to execute {{sshd}} (except just -h), returns

{quote}
sshd re-exec requires execution with an absolute path
{quote}






> 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