Solved

IBM AIX : Error when trying to connect to sftp

Posted on 2011-09-19
3
1,019 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

708 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

16 Experts available now in Live!

Get 1:1 Help Now