LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices

Reply
 
Search this Thread
Old 07-05-2012, 07:57 AM   #1
Ajit Gunge
Member
 
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.

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

Rep: Reputation: 43
Greetings,

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.
 
  


Reply


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 02:54 PM
scp does not work and gives the following error message: scp: FATAL: Executing ssh1 i akay Linux - Networking 16 09-28-2008 11:41 PM
scp error ......... sniffer_raghav Linux - Networking 6 11-29-2007 07:35 AM
Get an error when I use 'scp' Abomb Linux - Security 3 08-24-2006 07:47 AM
Scp Error chaitu_iiit Linux - Software 1 12-08-2004 09:08 AM


All times are GMT -5. The time now is 03:25 AM.

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