SFTP script from AIX to Windows 2003


 
Thread Tools Search this Thread
Operating Systems AIX SFTP script from AIX to Windows 2003
# 1  
Old 04-22-2005
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  
Old 04-22-2005
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  
Old 04-23-2005
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!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Needed SFTP script from windows to UNIX server and from UNIX to windows server(reverse SFTP)

hi guys, i need a script to sftp the file from windows to unix server ....(before that i have to check whether the file exists in the windows server or not and again i have to reverse sftp the files from unix to windows server..... regards, Vasa Saikumar. (13 Replies)
Discussion started by: hemanthsaikumar
13 Replies

2. Shell Programming and Scripting

Error copying files from Unix (Solaris10) to Windows Server 2003 using scp/sftp

Hi, I have generated a Public/Private Key Pair in Solaris Unix (source) server and deployed the Public key in Windows 2003(target) server .ssh directory of user profile. When i try to connect(ssh, scp, sftp) from Unix, i'm getting below error message. Sun_SSH_1.1, SSH protocols 1.5/2.0,... (0 Replies)
Discussion started by: ajaykumarb
0 Replies

3. AIX

Problem with NFS mount and network configuration between AIX and Windows 2003 servers

I ‘m beginner on unix I want to move an unix aix post 5.2 on distant site for use catia V4 with a foundation of data accommodated by a serveur windows 2003 and an environment accommodated on the serveur aix. The computer was linked up by IP (122.0.0.8) with waiter 2003 (via NFS) and the waiter... (8 Replies)
Discussion started by: astiaous
8 Replies

4. Shell Programming and Scripting

sftp Connection from Unix to Windows 2003 server using Passphrase

Hi All, I am trying to connect from Unix machine to Windows 2003 server using passphrase method. It is connecting to the server and the connection is immediately closing. Below is the stack trace. Can anyone let me know what wrong with it? cwadmin@iut1wps1:/home/cwadmin> ssh username@targetip... (1 Reply)
Discussion started by: vijayin
1 Replies

5. Windows & DOS: Issues & Discussions

OpenSSH with windows server 2003

Hi people, I'm trying to configure the OpenSSH in my win server 2003 to accept connection with public/private keys, without password. I research all over internet sites about, almost all them, have the same instructions that doesn't work. I can just get a sFTP connection with password without... (0 Replies)
Discussion started by: laurentiis
0 Replies

6. Windows & DOS: Issues & Discussions

Install Windows 2003 R2 on existing Windows 2008

Hi, I am trying to install WIndows 2003 R2 Server on existing Windows 2008 server. When I run the 2003 cd it says no disk found. What can be the problem. (2 Replies)
Discussion started by: gunnervarma
2 Replies

7. Windows & DOS: Issues & Discussions

OpenSSH Server for Windows 2003

Hi Gurus I have installed OpenSSH server in one of my Windows 2003 boxes. I have installed the setup and added the users as told in the link. But i am getting an "Access denied" whenever i try to log in through ssh or sftp. But when i try to log in through my loopback IP (127.0.0.1),i am... (1 Reply)
Discussion started by: Renjesh
1 Replies

8. UNIX for Dummies Questions & Answers

Unix and Windows Server 2003

Hello All, I need your help with this, i appreciate all your help that you can give. Windows NT Domains Connect Windows XP as a domain client to both systems, Windows Server 2003 and Unix. Secure shell Set up secure shell on Linux (ssh). Set up secure client on Windows XP. Putty? I... (1 Reply)
Discussion started by: italia
1 Replies

9. Shell Programming and Scripting

SFTP from UNIX (AIX) to Windows 2000 server

Hi all, I have to sftp a file (put) from AIX server to Windows 2000 server. The question is Windows 200 server that i am using doesnt have any SFTP server , if so i know we need to install one. The question here is for writing a sftp script that as to run everyday as part of cron job we... (0 Replies)
Discussion started by: reddymails
0 Replies

10. UNIX for Dummies Questions & Answers

How can I view a Windows 2003 folder in Unix?

Is it possible to do something like this? Have a folder shared on a Windows machine and then be able to view it under a Unix server? Sort of like a reverse Samaba share? (5 Replies)
Discussion started by: LordJezo
5 Replies
Login or Register to Ask a Question