Solved

IBM AIX : Error when trying to connect to sftp

Posted on 2011-09-19
3
1,046 Views
Last Modified: 2013-11-17
Hi, I have checked /etc/ssh/sshd_config   to make sure that sftp is activated . but when i try to test it i get the error bellow

# sftp localhost
Connecting to localhost...
ssh_exchange_identification: Connection closed by remote host
Connection closed

Open in new window

0
Comment
Question by:cismoney
3 Comments
 
LVL 4

Accepted Solution

by:
sakman earned 500 total points
ID: 36561236
If you have an /etc/hosts.allow file you could add an entry for sshd:

echo 'SSHD: ALL' >> /etc/hosts.allow

And then restart the sshd service:

stopsrc -s sshd ; startsrc -s sshd
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 36561424
Is sshd running at all?

Try ps -ef |grep sshd | grep -v grep

or

lssrc -s sshd

Should you see nothing (first command) or "inoperative" (second command) start sshd with

startsrc -s sshd

wmp
0
 
LVL 9

Expert Comment

by:parparov
ID: 36561799
Can you post the relevant sftp entries in the config file?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now