Re: Urgent request: Where does the authorized_keys file have to go on a Windows system?
From: Darren Dunham (ddunham_at_redwood.taos.com)
Date: 06/23/04
- Next message: Mary Jane Pronio: "Coding an SFTP step in a Unix Script running F-Secure Shell"
- Previous message: Tonij: "Re: Urgent request: Where does the authorized_keys file have to go on a Windows system?"
- In reply to: Tonij: "Re: Urgent request: Where does the authorized_keys file have to go on a Windows system?"
- Next in thread: Tonij: "Re: Urgent request: Where does the authorized_keys file have to go on a Windows system?"
- Reply: Tonij: "Re: Urgent request: Where does the authorized_keys file have to go on a Windows system?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 23 Jun 2004 16:10:20 GMT
Tonij <tonij67@hotmail.com> wrote:
>> Is this under cygwin? Does the user exist in /etc/passwd? If so,
>> that's where the home directory is specified.
> This is OpenSSH_3.7.1p1, no Cygwin involved at all.
I wasn't aware that it was easily available without cygwin. Did you
compile it yourself or are binaries available from some site? I didn't
see anything on the openssh.com site when I looked.
> I have the authentication set up and can copy files from
> Unix--Windows.
> One of the tasks that needs to be done after the copy is the file
> needs to be renamed. This is to prevent any processing from happening
> on the Windows box before the file is completely copied. Now in unix,
> it would be a simple task:
> ssh <server> "cp file newfile"
> Trying this with Windows is a mess...because the copy, move, rename
> etc. commands are all part of cmd.exe and anything I have tried
> returns:
> ren: not found
> or
> move:not found
> etc.
> I even tried putting a copy of cmd.exe in the path, still no luck. I
> tried xcopy, no luck.
> So....now I need to find a way to remotly change a file name in
> Windows...either a standalone copy/move executable or some
> alternative.
> Any ideas?
Can you use cmd.exe as the actual command and pass the rename as an
argument?
Could you use 'rsync' on both sides instead? That would perform the
rename after the transfer. (I'm not sure if there's a "native" rsync
for windows).
-- Darren Dunham ddunham@taos.com Senior Technical Consultant TAOS http://www.taos.com/ Got some Dr Pepper? San Francisco, CA bay area < This line left intentionally blank to confuse you. >
- Next message: Mary Jane Pronio: "Coding an SFTP step in a Unix Script running F-Secure Shell"
- Previous message: Tonij: "Re: Urgent request: Where does the authorized_keys file have to go on a Windows system?"
- In reply to: Tonij: "Re: Urgent request: Where does the authorized_keys file have to go on a Windows system?"
- Next in thread: Tonij: "Re: Urgent request: Where does the authorized_keys file have to go on a Windows system?"
- Reply: Tonij: "Re: Urgent request: Where does the authorized_keys file have to go on a Windows system?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|