winscp between AIX and windows


 
Thread Tools Search this Thread
Operating Systems AIX winscp between AIX and windows
# 1  
Old 12-15-2010
winscp between AIX and windows

Hello Admins,

I am trying to copy some files/packages from my windows host to AIX server. I am a normal user not root.
I am getting an error as below:

cannot initialize sftp protocol.....

I have enabled the ftp service.

Could you help me out..
# 2  
Old 12-15-2010
ftp is not sftp. Make sure you have a sshd running. Make also sure that in your /etc/ssh/sshd_config you have following line active:
Code:
Subsystem       sftp    /usr/sbin/sftp-server

If not, uncomment or add it and restart the sshd with
Code:
stopsrc -s sshd
startsrc -s sshd

# 3  
Old 12-15-2010
Nope....no luck...I just tried as you said...
# 4  
Old 12-15-2010
Which of the steps above did you try out? Can you call sftp from the shell to connect to the sshd? If not, show the error message please using code tags.
# 5  
Old 12-15-2010
Error:

connection has been unexpectedly closed. Server sent command exit status 255.

cannot initialize SFTP protocol. Is the host running a SFTP server?



I tried
1. checked the sshd_config file: It was uncommented
2. stopsrc -s sshd
3 startsrc -s sshd
# 6  
Old 12-15-2010
Do you connect via ssh or telnet etc. to your box? If not via ssh, did you check if sshd is running at all?
Code:
ps -ef| grep sshd
lssrc -s sshd


Last edited by zaxxon; 12-15-2010 at 12:14 PM..
# 7  
Old 12-15-2010
Are you blindly following zaxxon's instruction? For AIX, the sftp-server may not reside under /usr/sbin. Check it under /usr/localcw/libexec if it's not under sbin.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. AIX

Samba 3.6 on AIX 7.1 - Windows 10 Access to AIX file shares using Active Directory authentication

I am running AIX 7.1 and currently we have samba 3.6.25 installed on the server. As it stands some AIX folders are shared that can be accessed by certain Windows users. The problem is that since Windows 10 the guest feature no longer works so users have to manually type in their Windows login/pwd... (14 Replies)
Discussion started by: linuxsnake
14 Replies

2. UNIX for Dummies Questions & Answers

What is winscp?

Hi I am new to using unix and editors for unix.. what is winscp? how to use it? what are ways to download this and learn? (1 Reply)
Discussion started by: swathi123
1 Replies

3. AIX

WINSCP Log in AIX 6.1

Hello Team, In my environment , Application team using winscp to create/modify/delete the files in the AIX server from their windows boxes. I have enabled the user history, su logs and lastlog, but the users whoever using winscp its not getting tracked. How to enable the WINSCP logs in AIX... (3 Replies)
Discussion started by: gowthamakanthan
3 Replies

4. Solaris

Transfer files from windows to solaris with winscp (file protocol:SFTP)

Hello, I have a couple of zip files to be copied from my local drive to a folder in solaris10 residing in a VM ware. i am using WINSCP, I tried to get hold of the solaris hostname or ip using ifconfig -a , hostname|nslookup etc. when i create a new session in WINSCP using that IP and port... (6 Replies)
Discussion started by: herbich1985
6 Replies

5. UNIX for Dummies Questions & Answers

Oracle client install for AIX - WinSCP fails

I am trying to install the oracle client for AIX. I downloaded the client to my Windows machine from Oracle Database 10g Release 2 for AIX5L "Oracle Database 10g Client Release 2 (10.2.0.1.0)". 1. Is this right? (I need 9 or 10 client) It was .gz file that I am now trying to move from... (2 Replies)
Discussion started by: shoefiend
2 Replies

6. Shell Programming and Scripting

shellscript on AIX to download file from windows to AIX

i require the shell script that is running on the AIX to download a file from Windows desktop to the location where the shell script resides onthe AIX system. I have used the below code: but it throwing the error as below.please help me at the earliest to resolve the issue. error message :... (1 Reply)
Discussion started by: kvkc
1 Replies

7. AIX

Do I need to configure my local windows to FTP files from local windows to a UNIX AIX server?

Hi Friends, I have this script for ftping files from AIX server to local windows xp. #!/bin/sh HOST='localsystem.net' USER='myid_onlocal' PASSWD='mypwd_onlocal' FILE='file.txt' ##This is a file on server(AIX) ftp -n $HOST <<END_SCRIPT quote USER $USER quote PASS $PASSWD put $FILE... (1 Reply)
Discussion started by: rajsharma
1 Replies

8. Linux

WINSCP for Linux?

Is there something that will work on Linux with the same functionality like Winscp? (5 Replies)
Discussion started by: soupbone38
5 Replies
Login or Register to Ask a Question