SSH Login Guide / SSH 登录指引

Runtime: kyle37.homelinked.tech

Username: kyle37


1. Your Login Command / 你的登录命令

ssh kyle37@kyle37.homelinked.tech

This command is used to enter your Hong Kong cloud Runtime.

这个命令用于进入你的香港云端 Runtime。


2. We Use SSH Key, Not Password / 我们使用 SSH Key,不使用密码

We do not use password login.

我们不使用密码登录。

You need to generate an SSH Key on your own computer.

你需要在自己的电脑上生成 SSH Key。

You only send the public key to Benny.

你只需要把 公钥 发给 Benny。

Never send your private key.

永远不要发送私钥。

Remember:

.pub = public key = safe to send
no .pub = private key = do not send

3. Mac Instructions / Mac 方法

Open Terminal.

打开 Terminal。

Generate SSH Key:

ssh-keygen -t ed25519

Press Enter all the way.

一路按 Enter。

Show your public key:

cat ~/.ssh/id_ed25519.pub

Copy the full line and send it to Benny.

复制完整一整行,发给 Benny。

After Benny adds your key, login:

ssh kyle37@kyle37.homelinked.tech

4. Windows PowerShell Instructions / Windows PowerShell 方法

Open PowerShell or Windows Terminal.

打开 PowerShell 或 Windows Terminal。

Generate SSH Key:

ssh-keygen -t ed25519

Press Enter all the way.

一路按 Enter。

Show your public key:

type $env:USERPROFILE\.ssh\id_ed25519.pub

Copy the full line and send it to Benny.

复制完整一整行,发给 Benny。

After Benny adds your key, login:

ssh kyle37@kyle37.homelinked.tech

5. If You Change Device / 如果你换设备

Your SSH Key belongs to the computer where it was created.

SSH Key 属于生成它的那台电脑。

If you change computer, use a school computer, office computer, Windows PC, MacBook, Linux machine, or company-provided device, you must generate a new SSH Key on that device.

如果你换电脑,例如学校电脑、办公室电脑、Windows 电脑、MacBook、Linux 机器或公司提供设备,必须在新设备上重新生成 SSH Key。

Then send the new public key to Benny again.

然后把新的公钥再次发给 Benny。

One student can have multiple devices. Each device needs its own public key.

一个学生可以有多台设备。每台设备都需要自己的公钥。


6. First Login / 第一次登录

When you login for the first time, you may see:

Are you sure you want to continue connecting?

Type:

yes

Then press Enter.


7. Confirm You Are Inside the Cloud Server / 确认你已进入云端服务器

After login, try:

whoami

Expected:

kyle37

Then:

hostname

This confirms you are inside the cloud server.

这表示你已经进入云端服务器。


8. Enter Your Workspace / 进入你的工作目录

cd /opt/workspaces/kyle37

Check location:

pwd

Expected:

/opt/workspaces/kyle37

9. If It Asks for Password / 如果系统问密码

Normally, after your SSH Key is added, it should not ask for password.

正常情况下,SSH Key 加入后,不应该问密码。

If it asks for password, usually one of these is wrong:

Please take a screenshot and send it to Benny.

请截图发给 Benny。


10. Exit / 退出服务器

exit

This returns you to your own computer.

这会让你回到自己的电脑。


Summary / 总结

Your login command:

ssh kyle37@kyle37.homelinked.tech

Main rule:

Same computer = same key = login works
New computer = new key = send new public key

中文:

同一台电脑 = 同一个 Key = 可以登录
换电脑 = 新 Key = 重新发送公钥