Help answer threads with 0 replies.
Go Back > Forums > Other *NIX Forums > AIX
User Name
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.


  Search this Thread
Old 07-05-2012, 08:57 AM   #1
Ajit Gunge
Registered: Jan 2008
Location: Pune
Distribution: RHEL,fedora
Posts: 253
Blog Entries: 1

Rep: Reputation: 21
Question error while using scp

I want to use scp on an AIX machine but I am getting folling error when I run the command.

ssh:connect to host x.x.x.x port 22: Connection refused
lost connection

I can see that my sshd is running on the host.

When I try to run the command startsrc -s sshd on the serve where I want to transfer the file I get the following error
0513-085 The sshd Subsystem is not on file.

Can someone tell me what I am missing here.

Old 07-05-2012, 07:56 PM   #2
Registered: Nov 2004
Location: Ontario, CA
Distribution: Gentoo, Arch, (RedHat4.x-9.x, FedoraCore 1.x-4.x, Debian Potato-Sarge, LFS 6.0, etc.)
Posts: 241

Rep: Reputation: 52

Okay, let's break this down a bit for clarification:
  1. The sshd service is running on another host that has the file you want.
  2. You are running the command of scp on the AIX machine.
  3. You are trying to copy the file from that one host to another and not to the AIX machine you are on.
  4. You get the above error when you issue the scp command from the AIX machine.

Are these all correct? If so, my thought would be that there is no ssh server installed on the destination host. The quick solution would be to log onto the destination host directly and scp from the source host directly to the destination host (provided that the ssh and/or scp utilities have been installed.)

If the above list is *not* correct, let us know what is incorrect.

HTH. Let us know.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SCP error oceani Linux - Newbie 4 02-09-2011 03:54 PM
scp does not work and gives the following error message: scp: FATAL: Executing ssh1 i akay Linux - Networking 16 09-29-2008 12:41 AM
scp error ......... sniffer_raghav Linux - Networking 6 11-29-2007 08:35 AM
Get an error when I use 'scp' Abomb Linux - Security 3 08-24-2006 08:47 AM
Scp Error chaitu_iiit Linux - Software 1 12-08-2004 10:08 AM > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 07:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration