Browse Source

Merge pull request #259 from sergeir82/fix-user-name

Fix ssh user name can not set in url parameter /ssh/:user. Every time…
pull/260/head
Cian Butler 5 years ago
committed by GitHub
parent
commit
3721ac1716
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      src/server/command/index.ts

17
src/server/command/index.ts

@ -31,14 +31,15 @@ export default (
args: !forcessh && localhost(host)
? loginOptions(command, remoteAddress)
: sshOptions(
urlArgs(referer, {
host: address(referer, user, host),
port: `${port}`,
pass: pass || '',
command,
auth,
knownhosts,
}),
{ ...urlArgs(referer, {
port: `${port}`,
pass: pass || '',
command,
auth,
knownhosts,
}),
host: address(referer, user, host)
},
key
),
user:

Loading…
Cancel
Save