简体   繁体   English

在Windows中使用OpenSSH的ssh麻烦

[英]ssh woes with openSSH in windows

So i am having a rather severe issue with setting up OpenSSH for password-less entry on my university supplied computer. 因此,在大学提供的计算机上设置用于无密码输入的OpenSSH时,我遇到了一个非常严重的问题。

There are 2 main issues: 有两个主要问题:

1. The default config and known_hosts file created by openSSH upon first use default to the university h: directory. 1. openSSH在首次使用时创建的默认config和known_hosts文件默认为大学h:目录。 This is a local directory so i would need to be connected to the local network or using a VPN which isn't always the case. 这是一个本地目录,所以我需要连接到本地网络或使用VPN(并非总是如此)。 So the first question is, how can i change where the openSSH looks for known_hosts and config. 所以第一个问题是,我该如何更改openSSH在哪里寻找known_hosts和config。

在此处输入图片说明

2. The second issue is that when i try to set up passwordless entry. 2.第二个问题是,当我尝试设置无密码条目时。 It is that the openssh client tells me that my private key is not protected which is fair enough, but what is the best way to change the permissions because I have tried through windows properties and it is hopeless. 正是openssh客户端告诉我,我的私钥没有受到保护,这很公平,但是更改权限的最佳方法是什么,因为我已经尝试过Windows属性,但是这是没有希望的。

这只能通过更改为其他SSH程序copSSH来解决。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM