LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-05-2011, 05:35 PM   #1
kais1
Member
 
Registered: Dec 2008
Posts: 61

Rep: Reputation: 17
SCP not working


Dear all,

We are running RHEL 5.5 .When am trying to copy files from other server using scp .using the comand below

scp -r -q oracle@oracle2:/home/oracle/* .
password :
access control disabled client can connect any host

and after this it comes out and doesn't copy any file.

Any idea why?

Kai
 
Old 07-05-2011, 05:51 PM   #2
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 13.1
Posts: 1,327

Rep: Reputation: 254Reputation: 254Reputation: 254
If you use -q all warnings will be suppressed. What about not using it.
 
Old 07-05-2011, 06:09 PM   #3
kais1
Member
 
Registered: Dec 2008
Posts: 61

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by Reuti View Post
If you use -q all warnings will be suppressed. What about not using it.

http://www.linuxquestions.org/questi...eply&p=4406088

Thanks Reuti, but it is still the same :

-bash-3.2$ scp -r oracle@192.168.1.68:/home/oracle/* .
oracle@192.168.1.68's password:
access control disabled, clients can connect from any host


Kai
 
Old 07-05-2011, 06:29 PM   #4
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 13.1
Posts: 1,327

Rep: Reputation: 254Reputation: 254Reputation: 254
Okay, can you login in the other machine and check what’s there under this account and directory. You could also try sftp.
 
Old 07-05-2011, 06:34 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,333

Rep: Reputation: 3891Reputation: 3891Reputation: 3891Reputation: 3891Reputation: 3891Reputation: 3891Reputation: 3891Reputation: 3891Reputation: 3891Reputation: 3891Reputation: 3891
Quote:
Originally Posted by kais1 View Post
http://www.linuxquestions.org/questi...eply&p=4406088

Thanks Reuti, but it is still the same :

-bash-3.2$ scp -r oracle@192.168.1.68:/home/oracle/* .
oracle@192.168.1.68's password:
access control disabled, clients can connect from any host
Kai
I'm going to go out on a limb, and suggest you check the oracle user's .bashrc and/or .profile. The "access control disabled" message hints at an xhost command getting run. Since you're not entering it, I'd say it was the login script. If there's nothing there, check the system wide /etc/profile to see if any user-id checking is going on for the oracle user.

Also, run a test. Just SSH to the box as oracle, see what happens. If you can log in successfully, try to cd into the directory you specified. If you can, create a text file in that directory, and see if you can just scp it alone.
 
  


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 from chroot not working Febi881 Linux - General 3 03-29-2011 07:39 AM
SCP is not working properly ! blackhat_hk Linux - General 1 08-01-2010 09:33 AM
scp not working lord-fu Fedora 2 08-01-2007 09:27 AM
Inbound scp not working gauge73 Linux - Networking 6 05-07-2005 03:04 PM
scp not working nauliv Linux - Software 3 06-30-2003 03:13 AM


All times are GMT -5. The time now is 09:08 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration