honor default ssh username for the quick connect box - fixes #4663

上级 a2de29e5
...@@ -99,7 +99,7 @@ export class SSHProfilesService extends ProfileProvider<SSHProfile> { ...@@ -99,7 +99,7 @@ export class SSHProfilesService extends ProfileProvider<SSHProfile> {
} }
quickConnect (query: string): PartialProfile<SSHProfile> { quickConnect (query: string): PartialProfile<SSHProfile> {
let user = 'root' let user: string|undefined = undefined
let host = query let host = query
let port = 22 let port = 22
if (host.includes('@')) { if (host.includes('@')) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册