`

ssh的配置

阅读更多
上次review titan test result service,试着在windows xp下用OpenSSH, 上次勉强成功。但那个remotePath好象不能指到home下的相对路径,后来用D:/test这个绝对路径勉强过关。google了一下,发现网上是说xp不能将path定位到home下,具体是怎么回事也没有去研究了。

这次review sftp utility, 服务器端用linux的ssh了,是鑫帮我启动linux的ssh,具体怎么启动,有时间了自己还得去看一下。我在windowx机器上装了openssh,试了一下没有成功。但里面的documentation还是帮助了我。主要过程是生成key pairs。然后将public key 拷到linux的home/.ssh目录下,再change into the .ssh directory for the user and type cat publickeyname >> authorized_keys, replacing publickeyname with the correct name of the public key. 然后就可以在客户端利用key访问了。(注意,这里服务器是用的linux,客户端可用windows或是其它os.)具体可以参照D:\TC_Review\SFTP_Utility\SFTP_Utility_1.0_dev_dist\docs下的key_authentication.txt.
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics