温馨提示×

ubuntu securecrt怎么连接

小樊
45
2026-10-01 03:16:02
栏目: 智能运维

在 Ubuntu 上使用 SecureCRT 连接远程服务器,一般步骤如下(假设你要连的是 Linux 服务器,使用 SSH):


一、安装 SecureCRT(Ubuntu)

SecureCRT 官方提供 Linux 版本:

  1. 到官网下载
    https://www.vandyke.com/products/securecrt/
  2. 选择 Linux / Ubuntu (deb) 版本
  3. 安装:
sudo dpkg -i scrt-*.deb
sudo apt -f install   # 解决依赖

安装完成后,可在菜单或终端中运行:

securecrt

二、使用 SecureCRT 连接服务器

方法 1:快速连接(Quick Connect)

  1. 打开 SecureCRT
  2. 点击 File → Quick Connect(或快捷键 Alt+Q)
  3. 填写:
    • Protocol:SSH2
    • Hostname:服务器 IP(如 192.168.1.100)
    • Port:22(默认)
    • Username:你的用户名
  4. 点击 Connect
  5. 输入密码即可

方法 2:新建 Session(推荐)

  1. File → New Session
  2. 选择 SSH2
  3. 填写:
    • Hostname
    • Port(22)
    • Username
  4. 一路 Next
  5. 完成后双击 Session 连接

三、常见问题

1️⃣ 连接超时 / 连不上

  • 服务器是否开启 SSH:
systemctl status ssh
  • 防火墙是否放行 22 端口
  • Ubuntu 本地是否能 ping 通服务器

2️⃣ 使用密钥登录(更安全的做法)

  1. 本地生成密钥:
ssh-keygen
  1. 将公钥传到服务器:
ssh-copy-id user@ip
  1. SecureCRT 中:
    • Session 设置 → SSH2 → Authentication → PublicKey
    • 选择本地私钥(id_rsa)

3️⃣ Ubuntu 自带终端也能连(不一定要 SecureCRT)

ssh user@ip

如果你是指:

  • Ubuntu 当服务器,用 Windows 的 SecureCRT 连
  • Ubuntu 上连 Windows / 交换机 / 路由器
  • 串口(Serial)连接

可以告诉我具体场景,我给你对应配置。

0 踩