首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >然而,使用CMD/终端的新Ubuntu用户- SSH与代码Remote-SSH的权限被拒绝

然而,使用CMD/终端的新Ubuntu用户- SSH与代码Remote-SSH的权限被拒绝
EN

Stack Overflow用户
提问于 2020-04-27 14:51:00
回答 1查看 625关注 0票数 1
  • 这是Windows 10本地的UbuntuServer18.04远程。

user.

  • Using为服务器创建了一个新的Ubuntu authentication.

  • Login密码,新用户使用普通CMD和VS代码终端工作。

  • VS Created SSH使用密钥身份验证与另一个远程用户一起工作,在另一台服务器上使用密码authentication.

  • Once多次失败尝试超时。我尝试过在远程上重新启动ssh,但似乎重新启动ssh的唯一方法是至少等待5-10 minutes.

  • I've集。

"remote.SSH.showLoginTerminal":没错,

"remote.SSH.useLocalServer":false

权限被拒绝,请重试.

解析器错误:进程试图写入不存在的管道

代码语言:javascript
复制
[19:37:42.871] Log Level: 2
[19:37:42.928] remote-ssh@0.51.0
[19:37:42.929] win32 x64
[19:37:42.938] SSH Resolver called for "ssh-remote+7b22686f73744e616d65223a223139322e3136382e302e313430222c2275736572223a2273736820646576227d", attempt 1
[19:37:42.939] SSH Resolver called for host: ssh <USER@IP>
[19:37:42.939] Setting up SSH remote "<IP>"
[19:37:43.135] Using commit id "ff915844119ce9485abfe8aa9076ec76b5300ddd" and quality "stable" for server
[19:37:43.142] Install and start server if needed
[19:37:43.155] Checking ssh with "ssh -V"
[19:37:44.247] > OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5
[19:37:44.252] Running script with connection command: ssh -T -D 35093 "ssh <USER@IP>" bash
[19:37:44.262] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[19:37:45.173] > 
>
> ]0;C:\WINDOWS\System32\cmd.exe
[19:37:45.174] Got some output, clearing connection timeout
[19:37:45.290] > 
> 
[19:37:45.850] > ssh <USER@IP>'s password: 
[19:37:45.851] Showing password prompt
[19:37:54.970] Got password response
[19:37:54.971] "install" wrote data to terminal: "********"
[19:37:55.008] > 
> 
[19:37:56.507] > Permission denied, please try again.
> 
[19:37:56.526] > ssh <USER@IP>'s password: 
[19:37:56.527] Showing password prompt
[19:38:00.659] Got password response
[19:38:00.659] "install" wrote data to terminal: "********"
[19:38:00.698] > 
> 
[19:38:19.645] > ssh_dispatch_run_fatal: Connection to <IP> port 22: Connection timed ou
> t
> 
[19:38:19.681] > The process tried to write to a nonexistent pipe.
> 
[19:38:19.996] "install" terminal command done
[19:38:19.997] Install terminal quit with output: The process tried to write to a nonexistent pipe.
[19:38:19.998] Received install output: The process tried to write to a nonexistent pipe.
[19:38:20.000] Resolver error: The process tried to write to a nonexistent pipe
[19:38:20.012] ------

我还发表了一篇文章:

https://github.com/microsoft/vscode-remote-release/issues/2841

EN

回答 1

Stack Overflow用户

发布于 2020-04-30 22:27:39

我的远程SSH对话框的语法不正确。

不正确的语法:ssh test@host.com

正确语法:test@host.com

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/61461636

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档