This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Issue with SCP and SSH on Windows 7
- From: Metroshica <Landonwo at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 6 May 2011 10:54:26 -0700 (PDT)
- Subject: Issue with SCP and SSH on Windows 7
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