小编Koe*_*nie的帖子

ssh 错误 bash: 22: 命令未找到

我对 unix 很陌生,所以请和我一起裸露......

当我尝试通过 ubuntu 工作站上的终端连接到运行 ubuntu 服务器的服务器时,出现此错误:

  • bash: 22: command not found

我输入的连接命令是:

  • ssh user@ip 22 然后我得到了要求用户通过的响应,在我输入它后,我得到了那个错误的提示。

我尝试通过以下方式重新安装 openssh-client:

  • sudo apt-get remove --purge openssh-client
  • sudo apt-get install openssh-client

还尝试更新我的回购:- sudo apt-get update

可惜没有结果……

ubuntu openssh command-not-found

-1
推荐指数
1
解决办法
9353
查看次数

标签 统计

command-not-found ×1

openssh ×1

ubuntu ×1