?
Solved

IBM AIX : Error when trying to connect to sftp

Posted on 2011-09-19
3
Medium Priority
?
1,166 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 4

Accepted Solution

by:
sakman earned 2000 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.
Suggested Courses
Course of the Month12 days, 8 hours left to enroll

777 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