webapp: Fix ssh setup with nonstandard port, broken in last release.
This commit is contained in:
parent
c6077de72d
commit
1b395dcb76
3 changed files with 10 additions and 1 deletions
|
@ -292,7 +292,7 @@ makeSsh rsync setup sshdata
|
|||
|
||||
makeSsh' :: Bool -> (Remote -> Handler ()) -> SshData -> SshData -> Maybe SshKeyPair -> Handler Html
|
||||
makeSsh' rsync setup origsshdata sshdata keypair = do
|
||||
sshSetup [sshhost, remoteCommand] "" $
|
||||
sshSetup ["-p", show (sshPort origsshdata), sshhost, remoteCommand] "" $
|
||||
makeSshRepo rsync setup sshdata
|
||||
where
|
||||
sshhost = genSshHost (sshHostName origsshdata) (sshUserName origsshdata)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue