The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Unix and Windows Server 2003 italia UNIX for Dummies Questions & Answers 1 03-01-2007 07:09 PM
Windows Server 2003 file sharing with UNIX markgrimes Windows & DOS: Issues & Discussions 1 09-21-2006 04:49 AM
Windows 2003 sp1 to Solaris 10 6/06 password synchronization (ssod) james_ryan SUN Solaris 0 09-01-2006 10:52 AM
How can I view a Windows 2003 folder in Unix? LordJezo UNIX for Dummies Questions & Answers 5 08-11-2004 05:25 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-22-2005
Registered User
 

Join Date: Apr 2005
Posts: 1
Stumble this Post!
SFTP script from AIX to Windows 2003

Hello everyone!

I searched high and low in the forum's on this site before I started a thread, but couldn't quite find my resolution. Even though I got good hits on SFTP.

I'm working on a script on my AIX 5.3 system to sftp (OpenSSH) files to another remote site that is running "Secure FTP" from Globalscape on a Windows 2003 Server. My goal is to bypass password and passphrase authentication for non user interaction.

I've generated my Public/Private dsa key pair on my AIX system. My problem is that I don't know where on the Windows 2003 Server (what directory) that my public key should be copied to. This is where you guys/gals come in !! I'm hoping someone has a silver bullet for me. Thanks in advance for any info.

I'm a new user to this site and this is my first post, so take it easy on me !! I'm an ex-Mainframer and about 2 years into UNIX. This looks like a great site that I'll be frequenting a lot!

Thanks again!
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 04-22-2005
Registered User
 

Join Date: Oct 2002
Posts: 670
Stumble this Post!
Since this is a SecureFtp server, this is something that you should be asking the vendor. I quickly went to the globalscape site and browsed through documentation, but couldnt find what you were looking for. I think you should put in a call to globalscape, unless someone else here knows the answer
Reply With Quote
  #3 (permalink)  
Old 04-22-2005
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,323
Stumble this Post!
Check your sshd_config file on the destination system (Windows server). It probably has a line such as:

AuthorizedKeysFile %h/.ssh/authorized_keys2

The above line means that the public keys should be copied in the <home directory of the destination user>/.ssh/authorized_keys2 file.

This is the default, but you can change this very easily. A very good idea is to use a single directory that is highly protected (very strict perms), and use /<single_directory>/%u/.ssh/authorized_keys2. This centralizes control into a single directory, making administration and maintainence easier.

Hope this helps!

Cheers!
Reply With Quote
Google The UNIX and Linux Forums
Reply

« rm command | ping »
Thread Tools
Display Modes




All times are GMT -7. The time now is 12:40 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0