windows 是否可以通过 Citrix Client 建立 SSH 隧道?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/228992/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 11:30:44  来源:igfitidea点击:

Is an SSH tunnel through Citrix Client possible?

windowsdeploymentsshcitrix

提问by Mauli

I know it is not strictly a programmer question, on the other hand, I would really like to be able to do a simple svn upon the production servers, which would save us a lot of hassle.

我知道严格来说这不是程序员的问题,另一方面,我真的很希望能够svn up在生产服务器上做一个简单的事情,这样可以为我们省去很多麻烦。

Or production servers are within a corporate network, and access is only allowed through a gateway server. From that we can access the actual servers via Remote Desktop. Because of this maintenance unfriendly setup we use a sftp server to get our files to the production server (where the ftp server alwys resets last modified date), so it is complicated to determine which files have changed.

或者生产服务器在公司网络内,并且只允许通过网关服务器访问。从中我们可以通过远程桌面访问实际的服务器。由于这种维护不友好的设置,我们使用 sftp 服务器将我们的文件发送到生产服务器(ftp 服务器总是重置上次修改日期),因此确定哪些文件已更改很复杂。

So if it would be possible to setup a ssh tunnel from the actual server through the citrix connection, it would ease the whole update process.

因此,如果可以通过 citrix 连接从实际服务器设置 ssh 隧道,它将简化整个更新过程。

(On further option which I consider is to use bazaar to push our updates to the sftp server and then pull the updates from there, but unfortunately there is no working svn plugin for bazaar available [on windows])

(我考虑的进一步选项是使用 bazaar 将我们的更新推送到 sftp 服务器,然后从那里提取更新,但不幸的是,[在 Windows 上] 没有可用的 bazaar svn 插件)

回答by bugmagnet

Okay, not wanting this to remain unsolved, I posted the following on the usenet in alt.os.citrix:

好吧,不想这个问题一直悬而未决,我在 alt.os.citrix 的 usenet 上发布了以下内容:

G'day everyone

Someone asked me this question. I haven't a clue. Any ideas?

"the connection I have is PC -> Citrix Access Gateway -> actual Server. My question is, if it is possible to establish a ssh connection from my PC to the actual Server."

大家好

有人问我这个问题。我没有头绪。有任何想法吗?

“我的连接是 PC -> Citrix Access Gateway -> 实际服务器。我的问题是,是否可以建立从我的 PC 到实际服务器的 ssh 连接。”

The response I got from a Catherine Jefferson was:

我从凯瑟琳杰斐逊那里得到的回应是:

Should be. I do this all the time using an Access Gateway VPN, then ssh to servers inside the company LAN.

What version of the Access Gateway is this user running? I work for Citrix, might be able to get a more specific answer for him or her.

应该。我一直使用 Access Gateway VPN 执行此操作,然后通过 ssh 连接到公司 LAN 内的服务器。

此用户运行的是哪个版本的 Access Gateway?我在 Citrix 工作,也许可以为他或她得到更具体的答案。

So may I suggest you hook into alt.os.citrix (probably via Google Groupsif you don't have an NNTP tool) and buy into the conversation.

所以我建议你加入 alt.os.citrix(如果你没有 NNTP 工具,可能通过Google Groups)并参与对话

--Bruce

——布鲁斯

回答by kedge

I do this a lot. The tunnel is like: ssh -nvCXAN -L 1494:10.0.2.39:1494 www.starshipping.com &

我经常这样做。隧道就像:ssh -nvCXAN -L 1494:10.0.2.39:1494 www.starshipping.com &

Then, you need an ICA file that points to localhost.

然后,您需要一个指向 localhost 的 ICA 文件。

[WFClient]
Version=2

[ApplicationServers]
Connection To Citrix Server=

[Connection To Citrix Server]
WinStationDriver=ICA 3.0
TransportDriver=TCP/IP
ClientAudio=Off
DesiredColor=8
Username=yourusername
Domain=yourdomain
Password=xxxxxxxxx ; has to be encrypted. I pulled from another ICA file generated internally
ScreenPercent=97
TWIMode=OFF
Address=localhost

This all worked very fine on OSX until Citrix gave out a new version of the Citrix client which is now called the Citrix Online Plugin. Haven't been able to get it to work since then. Meanwhile, our VPN has been working fine, so haven't worried too much about it.

这一切在 OSX 上都运行良好,直到 Citrix 发布了一个新版本的 Citrix 客户端,现在称为 Citrix 在线插件。从那以后一直无法让它工作。同时,我们的 VPN 一直运行良好,所以不必太担心。

回答by bugmagnet

Citrix over SSH, How to Create a Key Pair for SSH Authentication Using PuTTYgen, Terminals. It seems that the answers are "out there" but not readily found. That was just five minutes in Google. HTH.

Citrix over SSH如何使用 PuTTYgen 为 SSH 身份验证创建密钥对终端。似乎答案“就在那里”,但不容易找到。这在谷歌中只有五分钟。哈。