The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > 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 11:09 PM
Windows Server 2003 file sharing with UNIX markgrimes Windows & DOS: Issues & Discussions 1 09-21-2006 07:49 AM
Windows 2003 sp1 to Solaris 10 6/06 password synchronization (ssod) james_ryan SUN Solaris 0 09-01-2006 01:52 PM
How can I view a Windows 2003 folder in Unix? LordJezo UNIX for Dummies Questions & Answers 5 08-11-2004 08:25 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-22-2005
Exit42 Exit42 is offline
Registered User
  
 

Join Date: Apr 2005
Posts: 1
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!
  #2 (permalink)  
Old 04-22-2005
dangral dangral is offline Forum Advisor  
Registered User
  
 

Join Date: Oct 2002
Posts: 699
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
  #3 (permalink)  
Old 04-22-2005
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
Supporter
  
 

Join Date: Dec 2004
Location: Singapore
Posts: 2,350
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!
Sponsored Links
Closed Thread

Bookmarks

Tags
sftp script

« rm command | ping »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:09 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0