Re: Urgent request: Where does the authorized_keys file have to go on a Windows system?
From: Tonij (tonij67_at_hotmail.com)
Date: 06/25/04
- Previous message: Joe Silagi: "Re: KEA and SSH"
- In reply to: Darren Dunham: "Re: Urgent request: Where does the authorized_keys file have to go on a Windows system?"
- Next in thread: Darren Dunham: "Re: Urgent request: Where does the authorized_keys file have to go on a Windows system?"
- Reply: Darren Dunham: "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: 25 Jun 2004 07:38:00 -0700
Darren Dunham <ddunham@redwood.taos.com> wrote in message news:<MXhCc.327$nS.305@newssvr27.news.prodigy.com>...
> 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).
I have not found a way to set a remote users path to even FIND cmd.exe
If I log into the Windows system normall via ssh, I have everything in
my path; if I run a command remotly, i.e.
ssh <server> "command"
any command I run is said to be "not found"
Any idea how to set up the path in a Windows system? I tried putting
something in .profile but to no avail...
- Previous message: Joe Silagi: "Re: KEA and SSH"
- In reply to: Darren Dunham: "Re: Urgent request: Where does the authorized_keys file have to go on a Windows system?"
- Next in thread: Darren Dunham: "Re: Urgent request: Where does the authorized_keys file have to go on a Windows system?"
- Reply: Darren Dunham: "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
|