我有两台主机,它们在同一个 wifi 子网中安装了 20.04 Testing,并连接到我的 AP。我希望在它们之间安全地传输文件,所以我选择了 sh/scp。当我从一台主机连接到另一台主机时,我输入了正确的密码,点击了 enten,几分钟内什么都没有显示。从两台主机到一台主机执行相同的操作会得到相同的结果。
$ ssh user@ip -v
.....
[email protected]'s password:
debug1: Authentication succeeded (password).
Authenticated to 192.168.43.59 ([192.168.43.59]:22).
debug1: channel 0: new [client-session]
debug1: Requesting [email protected]
debug1: Entering interactive session.
debug1: pledge: network
debug1: client_input_global_request: rtype [email protected]
want_reply 0
debug1: Sending environment.
debug1: Sending env LANG = pl_PL.UTF-8
----end-------
ssh 服务 ssh 状态:
lut 23 16:02:11 W540 systemd[1]: Starting OpenBSD Secure Shell server...
lut 23 16:02:11 W540 sshd[2398]: Server listening on 0.0.0.0 port 22.
lut 23 16:02:11 W540 sshd[2398]: Server listening on :: port 22.
lut 23 16:02:11 W540 systemd[1]: Started OpenBSD Secure Shell server.
lut 23 17:11:13 W540 sshd[31356]: Accepted password for adi from 192.168.43.16 port 41698 ssh2
我没有收到 bash 提示的原因是什么?