ssh - 使用代理服务器将 X2GO 配置转换为 ssh 配置文件
问题描述
我想将我的 X2GO 连接配置转换为更常用的 ssh 配置文件,以便在远程模式下使用 VS Code。但是有了这个代理服务器,我真的迷路了。
这是我的尝试:
Host domain
Hostname H
User login
Compression yes
# Automatic connection to hosts behind a firewall
Host *.domain
ProxyCommand ssh domain "nc `basename %h"
User login
Compression yes
解决方案
推荐阅读
- r - 处理 xts - R 中日期变化的计算
- javascript - 更多阅读 ngx-datatable-columns
- linux - FFmpeg Drawbox 错误?
- mysql - 错误代码:1054。尝试 JOIN 两个表时,“on 子句”中的未知列“diagnoses.PATIENT_IDENTIFIER”
- sql - 使用 SQL 计算排列
- java - io.reactivex.exceptions.UndeliverableException 异常无法交付给消费者,因为它已经取消/处置
- php - .htaccess 规则重定向到默认 API 版本
- tcp - channel.close() 是否真的通过 channel.eventLoop().scheduleAtFixedRate() 停止计划任务?
- python - 如果 Yaxis 有 DateFormatter('%H:%M'),如何绘制 matPlotLib.bar?
- amazon-web-services - 属性 IamInstanceProfile 的值必须是 String 类型