delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.0 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <31561012.post@talk.nabble.com> |
Date: | Fri, 6 May 2011 10:54:26 -0700 (PDT) |
From: | Metroshica <Landonwo AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Issue with SCP and SSH on Windows 7 |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
I have recently written a script in Windows Server Edition 2008 that SSHes into a few linux servers, and then uses SCP to copy a file out of them. The issue I'm having is with SSH keys getting set up, and cygwin trying to create a .ssh directory in the C:/ directory, instead of where cygwin is located. I'm running this program through the standard windows command prompt, not cygwin's shell, as it is an automated process, and I don't know how to automatically run a program in cygwin. Anyone know how I can change the home directory to be C:/cygwin/home/user instead of the base C:/ dir, or anyone know how to automatically run a script in cygwin? Thanks for the help. -- View this message in context: http://old.nabble.com/Issue-with-SCP-and-SSH-on-Windows-7-tp31561012p31561012.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |