Windows连接服务器Ubuntu_MobaXterm

通过 SSH 远程连接(命令行方式)

🔧 所需工具:

  • Windows:MobaXterm (强烈推荐)或 PuTTY

  • Ubuntu:已开启 SSH 服务


Ubuntu 开启 SSH 服务(仅需一次)

在 Ubuntu 上运行以下命令:

复制代码
sudo apt update
sudo apt install openssh-server
sudo systemctl enable ssh
sudo systemctl start ssh

确认是否正在运行:

复制代码
sudo systemctl status ssh

记录 Ubuntu 的 IP 地址(例如 192.168.1.100):

复制代码
ip a

Windows 使用 MobaXterm 连接 Ubuntu:

1、打开 MobaXterm → 点击左上角 Session → 选择 SSH

2、输入:

  • Remote host: 192.168.1.100(Ubuntu IP)

  • Specify username: ubuntu 用户名(如 yourname

3、点击 OK,首次连接会提示接受密钥,输入 Ubuntu 密码即可登录。

相关推荐
天上飞的粉红小猪几秒前
linux的文件系统
linux·运维·服务器·1024程序员节
m0_748240251 小时前
基于Reactor模式的高性能C++仿Muduo库:Server服务器模块实现
服务器·c++·php
王同学_1162 小时前
Linux系统端口关闭并排查相关自启动项(麒麟环境)
linux·运维·服务器
q9085447032 小时前
Prometheus+Grafana 智能监控告警系统(服务器指标采集、mysql指标采集)
服务器·grafana·prometheus
郝学胜-神的一滴2 小时前
使用 Python 元类与属性实现惰性加载:Effective Python 第47条
linux·服务器·开发语言·python
袁煦丞 cpolar内网穿透实验室2 小时前
安卓旧机变服务器,KSWEB部署Typecho博客并实现远程访问:cpolar内网穿透实验室第645个成功挑战
android·运维·服务器·远程工作·内网穿透·cpolar
Broken Arrows2 小时前
解决同一个宿主机的两个容器无法端口互通报错“No route to host“的问题记录
运维·学习·docker
Hefin_H2 小时前
Linux 多用户服务器限制单用户最大内存使用(systemd user.slice)
linux·运维·服务器
G.Chenhui3 小时前
【Macos】安装 macFUSE 和 SSHFS 实现在 Finder 中挂载服务器目录
服务器·macos
饼瑶3 小时前
基于AutoDL远端服务器在pycharm复现:具身智能论文pai0
服务器·elasticsearch·pycharm