我正在尝试linux ssh。在终端中,我尝试连接我正在使用的同一台 Linux 机器,并且它已连接!就像用您的手机拨打同一部电话一样!但这怎么可能呢?
以下是我输入的示例终端命令:
alpha@alpha:~$ ssh alpha@<my IP address>
alpha@<my IP address>'s password: <my password>
Welcome to Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-42-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
* Canonical Livepatch is available for installation.
- Reduce system reboots and improve kernel security. Activate at:
https://ubuntu.com/livepatch
0 packages can be updated.
0 updates are security updates.
Last login: Mon Dec 10 15:31:35 2018 from <my IP address>
Run Code Online (Sandbox Code Playgroud)
上面的终端与我使用 ssh 的 Linux 机器的 IP 地址和上面的终端输出相同。我还注意到,我可以在嵌套连接中使用 ssh …