Windows Terminal ssh到linux

  1. windows store安装 Windows Terminal

  2. 打开json文件配置

复制代码
{
    "$help": "https://aka.ms/terminal-documentation",
    "$schema": "https://aka.ms/terminal-profiles-schema",
    "actions": 
    [
        {
            "command": 
            {
                "action": "copy",
                "singleLine": false
            },
            "id": "User.copy.644BA8F2",
            "keys": "ctrl+c"
        },
        {
            "command": "paste",
            "id": "User.paste",
            "keys": "ctrl+v"
        },
        {
            "command": "find",
            "id": "User.find",
            "keys": "ctrl+shift+f"
        },
        {
            "command": 
            {
                "action": "splitPane",
                "split": "auto",
                "splitMode": "duplicate"
            },
            "id": "User.splitPane.A6751878",
            "keys": "alt+shift+d"
        }
    ],
    "copyFormatting": "none",
    "copyOnSelect": false,
    "defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
    "newTabMenu": 
    [
        {
            "type": "remainingProfiles"
        }
    ],
    "profiles": 
    {
        "defaults": {},
        "list": 
        [
            {
                "commandline": "%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
                "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
                "hidden": false,
                "name": "Windows PowerShell"
            },
            {
                "commandline": "%SystemRoot%\\System32\\cmd.exe",
                "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
                "hidden": false,
                "name": "\u547d\u4ee4\u63d0\u793a\u7b26"
            },
            {
                "guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
                "hidden": false,
                "name": "PowerShell",
                "source": "Windows.Terminal.PowershellCore"
            },
            {
                "guid": "{17bf3de4-5353-5709-bcf9-835bd952a95e}",
                "hidden": true,
                "name": "Ubuntu-22.04",
                "source": "Windows.Terminal.Wsl"
            },
            {
                "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
                "hidden": false,
                "name": "Azure Cloud Shell",
                "source": "Windows.Terminal.Azure"
            },
            {
                "guid": "{4ff56d04-d9cf-57ea-bae2-ad396374e7e3}",
                "hidden": false,
                "name": "Ubuntu 22.04.5 LTS",
                "source": "CanonicalGroupLimited.Ubuntu22.04LTS_79rhkp1fndgsc"
            },
			{
			   "guid": "{4ff56d04-d9cf-57ea-bae2-ad396374ee87}",
			   "name": "114.117.199.127",
			   "hidden": false,
			   "commandline": "ssh -i C:\\Users\\PC\\.ssh\\id_ed25519 root@114.117.199.127"
			},
			{
			   "guid": "{5ff56d04-d9cf-57ea-b3e2-ad3923w4ee87}",
			   "name": "49.232.249.53",
			   "hidden": false,
			   "commandline": "ssh -i C:\\Users\\PC\\.ssh\\id_ed25519 root@49.232.249.53"
			}
        ]
    },
    "schemes": [],
    "themes": []
}
相关推荐
RisunJan10 分钟前
Linux命令-jwhois(查询域名和IP地址注册信息)
linux·tcp/ip
Run_Teenage31 分钟前
认识ELF格式文件,理解库链接过程
linux·运维·服务器
Leon-zy38 分钟前
【Linux】Linux下手动添加的systemctl服务使用journalctl查看无日志或排版乱
linux·运维·服务器
非凡ghost38 分钟前
SoftPerfect Network Scanner(网络扫描管理工具)
网络·windows·学习·软件需求
Q16849645151 小时前
红帽Linux-监控和管理Linux进程
linux·运维·服务器
maosheng11461 小时前
HCIP的OSPF进阶综合实验
linux·运维·服务器
开开心心就好1 小时前
内存清理工具开源免费,自动优化清理项
linux·运维·服务器·python·django·pdf·1024程序员节
fy zs1 小时前
NAT ,代理服务器和内网穿透:内网设备通信的底层逻辑
linux·运维·服务器
H Corey1 小时前
Java--面向对象之继承与多态
java·开发语言·windows·学习·算法·intellij-idea
佑白雪乐2 小时前
<Linux基础第3集>清华镜像源配置+网络基础概念理解(IP地址+网卡+网关+子网掩码+DNS...)
linux·网络·tcp/ip