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

  • Next message: Darren Dunham: "Re: Urgent request: Where does the authorized_keys file have to go on a Windows system?"
    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...


  • Next message: Darren Dunham: "Re: Urgent request: Where does the authorized_keys file have to go on a Windows system?"

    Relevant Pages

    • Re: SSH execute remote command on a windows system
      ... > I'm trying to get SSH to execute a rename command on a windows system ... > but when it runs the command on the remote machine it says the command ... Any chance you can put the entire command to the remote host in a single ...
      (comp.unix.solaris)
    • Re: Great SWT Program
      ... a good tutorial on Unix CLI tools? ... command there, ... then rename everything in the search scope with the CLI, ... I'd have to boot up a Windows system and try stuff, ...
      (comp.lang.java.programmer)
    • Re: How To Make index.shtml As A Home Page?
      ... is the correct command, but will only be effective if AllowOverride All ... overridden (provided AllowOverride is set) using .htaccess as you have done. ... > DirectoryIndex index.shtml index.html index.htm index.php ... you should be able to open your online web in FrontPage and rename ...
      (microsoft.public.frontpage.client)
    • Re: defective Windows XP CD
      ... Rick Rogers, ... It seems that to redirect the command, I just change the drive letter in the ... > Best of Luck, ... > Windows help - www.rickrogers.org ...
      (microsoft.public.windowsxp.general)
    • Re: Cant Rename a File Using WinXP Command Prompt!!!
      ... It needs to be given a shorter name so that it can be ... I cannot rename it using the Command Prompt and the ... The old filename in question contains the following symbols as ...
      (microsoft.public.windowsxp.help_and_support)