开发者

Copy files to a remote server via RDP using a script

开发者 https://www.devze.com 2022-12-13 08:36 出处:网络
We have a couple production servers that are configured to only allow access via RDP. There are no acessible shares. The dev team have no say in changing this setup but we want to automate code deploy

We have a couple production servers that are configured to only allow access via RDP. There are no acessible shares. The dev team have no say in changing this setup but we want to automate code deployments to these machines. Presently we have to set Remote Desktop to share a local drive with the server, then RDP to the server and manually copy the deployment.

Any one know of a way to tunnel over RDP 开发者_如何学Goand drop files to a given directory on the remote host from the command line? The instructions will need to be included in an MSBuild configuration.


If you can get WS-MAN set up, PowerShell remoting and/or pmodem might be your ticket? https://web.archive.org/web/20180429054125/http://www.nivot.org/blog/2009/11/default

0

精彩评论

暂无评论...
验证码 换一张
取 消