翻译自Getting started with Termius

——习立风(2018/11/28)

In the age of I-can-control-everything-I-own-from-my-phone, it’s taken for granted that you can control your television, stereo, temperature, lights, and your car’s engine from a device that you hold in your hand. But it’s easy to forget that our computers — whether they’re at home, at the office, at school, or hosted in the cloud — are no different. It’s easy to control them, remotely and securely, using Termius.
在这个我可以通过手机控制一切(I-can-control-everything-I-own-from-my-phone)的时代,人们想当然地认为,你可以通过手中的设备来控制电视、音响、温度、灯光和汽车引擎。但我们很容易忘记,我们的电脑——无论是在家里、在办公室、在学校,还是托管在云端——和以前都是一样的没什么不同。使用Termius很容易远程和安全地控制它们。

Termius is an app for Android, iOS, Windows, and Linux that provides a convenient, consistent interface for all things SSH. It offers improved performance on mobile using Mosh, a companion protocol that maintains sessions when signals are lost, your Wi-Fi network changes, or your device happens to shut down.
Termius是一个适用于Android、iOS、Windows和Linux的应用程序,它为所有SSH提供了方便、一致的界面。它在移动设备上使用Mosh提供了更好的性能,Mosh是一种配套协议,当信号丢失、Wi-Fi网络发生变化或设备碰巧关机时,Mosh可以维护会话。

Let’s go over how to set up a basic SSH connection using Termius.
让我们看一下如何使用Termius建立一个基本的SSH连接。

Install Termius:

  • iOS: get it on the App Store.
  • Android: get it on the Play Store.
  • Windows: download the installer from Termius.com.
  • Linux: install snap (e.g. sudo apt update && sudo apt install snapd), then install Termius with sudo snap install termius-app.

安装Termius:

  • iOS: 从 App Store获取.
  • Android: 从 Play Store获取.
  • Windows: 从 Termius.com下载.
  • Linux: 安装 snap (e.g. sudo apt update && sudo apt install snapd),然后用sudo snap install termius-app安装Termius.

Launch Termius. In the Hosts section, select +New Host.
加载运行Termius。在Hosts部分中,选择**+New Host**。

termius

Enter a Label for your new host — whatever you’d like. This is how your connection will appear in the Termius host list.
为您的新主机输入一个Label——任何您想要的。这就是您的连接在Termius主机列表中的显示方式。

Then, enter the Address and Port of your host computer. The address can be a FQDN, the host’s ID on your local network, the IP address, etc. The port number for SSH is 22 by default.
然后,输入主机的AddressPort。该地址可以是FQDN、本地网络上主机的ID、IP地址等。SSH的端口号默认为22

Enter your Username or Password now if you’d like to store those credentials, or leave the fields blank to be prompted at every login. Termius also allows you to define custom Groups and Tags for each host. You can edit these later if you’d like.
如果您想存储这些凭据,请立即输入您的UsernamePassword,或者将字段留空,以便在每次登录时提示。Termius还允许您为每个主机定义自定义GroupsTags。如果您愿意,您可以稍后编辑这些内容。

termiusHost

When you’re finished, select Save.
To connect to your host, select it in the Hosts list, and choose Connect.
完成后,选择Save
要连接到主机,请在Hosts列表中选择它,并选择connect

termiusConnect

You’ll be asked to verify the RSA fingerprint of your remote computer, and to supply login credentials if necessary.
And voilà: your remote computer’s command line, in the palm of your hand. You’ll find lots of little conveniences in Termius: for instance, using the Terminal Touch feature for mobile, you can swipe up to access your command history.
您将被要求验证远程计算机的RSA指纹,并在必要时提供登录凭证。
瞧,你的远程计算机的命令行,就在你的手掌上。在Termius中,您会发现许多小的便捷操作:例如,使用移动终端触摸功能,您可以向上滑动以访问命令历史记录。

bianjie

There are tons of cool ways to control your computers remotely, from any of your devices, using Termius. We’ll cover a few of these in our next article.

有很多很酷的方法可以远程控制你的电脑,从你的任何设备,使用Termius。我们将在下一篇文章中介绍其中的一些。