标签: plink

使用 plink 在缓存中自动存储服务器主机密钥

我一直在尝试使用 plink 发出命令以从我的外部服务器检索信息。请注意,这些 plink 命令是从不需要用户输入的二进制文件中运行的。是否有一个标志可以让我覆盖此错误消息并继续程序输出?

The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's rsa2 key fingerprint is:
ssh-rsa 2048 **:**:**:**:**:**:**:**:**:**:**:**:**:**:**:**
If you trust this host, enter "y" to add the key to
PuTTY's cache and carry on connecting.
If you want to carry on connecting just once, without
adding the key to the cache, enter "n".
If you do not trust this …
Run Code Online (Sandbox Code Playgroud)

ssh putty host plink

27
推荐指数
2
解决办法
6万
查看次数

SSH隧道速度很慢

我有一个使用 Ubuntu Linux 的远程服务器,我想使用 PuTTY(plink) 从 Windows 机器与该服务器建立 SSH 隧道。我必须使用此方法来访问该服务器上的某些服务,因为防火墙阻止了该服务器上除 22 ssh 端口之外的所有端口。但是 SSH 隧道的连接速度非常慢。我已经使用 iperf 工具检查了速度。

以下是在不使用 SSH 隧道的情况下使用 iperf 的结果:

[  5] local <remote_server_ip> port 5001 connected with <my_internet_ip> port 11154
[ ID] Interval       Transfer     Bandwidth
[  5]  0.0-10.4 sec  5.12 MBytes  4.13 Mbits/sec
Run Code Online (Sandbox Code Playgroud)

这是通过 SSH 隧道使用 iperf 的结果:

[  4] local 127.0.0.1 port 5001 connected with 127.0.0.1 port 38231
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-15.2 sec   896 KBytes   484 Kbits/sec
Run Code Online (Sandbox Code Playgroud)

速度确实不一样。这怎么可能?我应该做什么来修复它?

ubuntu iperf ssh-tunnel putty plink

6
推荐指数
1
解决办法
1万
查看次数

如何在 Windows 主机上使用带有 plink.exe 的 Linux 服务器上的 ssh 主机密钥?

我有 Linux 服务器运行sshd

如何hostkey从 Linux 服务器提供到plink.exeWindows 上?

例如:跑步 plink.exe -ssh -batch -m plink.tmp -hostkey ...

ssh putty plink

3
推荐指数
2
解决办法
2735
查看次数

标签 统计

plink ×3

putty ×3

ssh ×2

host ×1

iperf ×1

ssh-tunnel ×1

ubuntu ×1