Automated file transfers from Unix OpenSSH client to Windows OpenSSH server

From: Steve Thomas (stevethomas67@yahoo.com)
Date: 04/03/02


From: stevethomas67@yahoo.com (Steve Thomas)
Date: 3 Apr 2002 06:57:05 -0800

I've recently installed Network Simplicity's OpenSSH v3.1-2 (server)
on a Windows 2K Server. I also have [Open]SSH Version 2.0.13 (client)
installed on my Unix server.

I'm trying to setup an automated file transfer from a Unix log server
to a Windows archive server. I've been trying to use SCP to transfer
the files and have gone through the motions of setting up
authentication keys and such but have been unsuccessfull in getting it
to work. My SA of the Unix server is unavailable to upgrade the Unix
box to anything new, which I think is my problem, but not sure.

Meanwhile, I've been trying to figure out a workaround. I've been
trying to use SCP and passing it the password via " < password.txt",
where password.txt simply has one entry... the password. So my
command line is:

 $ scp filename.log userid@192.168.0.1 < password.txt

But doesn't seem to work, it still prompts for the password. I'm not
too worried about the password.txt file being "compromised", the
userid I'm using has limited permissions and on a separate
volume/partition.

Any suggestions?

Thanks,
Steve



Relevant Pages

  • Re: .Net or J2EE?
    ... .NET lacks anything remotely close to the concept of EJBs. ... At the moment the use of .NET on a Unix server is pretty risky. ... Windows server for the access from clients ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: routing email
    ... exchange server is exchange.system.com and the Unix server is ... We currently have an Internet Mail Connector that has 2 rules with cost of 1 ... server as the bridgehead and the Unix server as a smarthost. ...
    (microsoft.public.exchange.setup)
  • Re: Local configuration error
    ... I've looked at the Sendmail FAQ and I don't believe the solution fits ... - An Exchange server and UNIX server are sharing an SMTP namespace ... The UNIX server is authoritative for the domain while Exchange is ...
    (comp.mail.sendmail)
  • RE: Network Question
    ... > main office has a SCO Open Server running. ... > telnet client to the unix box, ... default route set up on the Unix server. ... but the emulation is lousy.) ...
    (comp.unix.sco.misc)
  • Re: User problem in SBS 2003 STD
    ... and are now useing POP3 from the Unix server. ... that the old office uses SBS, and its mail from thsi SBS that dont get ...
    (microsoft.public.windows.server.sbs)