Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rshd: 0826-813 Permission is denied 2

Status
Not open for further replies.

gatetec

MIS
Mar 22, 2007
420
US
I can telnet into the box from another with root account with no issue, but rcp -rp is not working:
rshd: 0826-813 Permission is denied.

What should I check to correct this issue?
 
The address you're originating from needs to be listed in either /etc/hosts.equiv or $HOME/.rhosts on the machine running rshd. If the rshd machine can't resolve the origin address, it'll need to be a dotted quad.

Obligatory Security Caveat: You really should use ssh/scp instead of rsh/rcp if at all possible.

- Rod


IBM Certified Advanced Technical Expert pSeries and AIX 5L
CompTIA Linux+
CompTIA Security+

A Simple Code for Posting on the Web
 
rcp -rp /cer/w_standard/2003_02/* miltnd:/cer/w_standard/20070913

I have this command with rcp.

What is the command with scp then?

scp and any flags after it?

thx much
 
PDC # scp -r /cer/w_standard/2003_02/* miltnd:/cer/w_standard/20070913

user: root
domain: miltnd
password: <i entered the root pw>
Unable to authenticate. Communication error.

What is wrong?

thx
 
problably root is not permited on miltnd to access via ssh.

Check PermitRootLogin attribute in sshd_config on miltnd

If you permit root for login mkltnd via ssh you should modify sshd_config to "PermitRootLogin yes" and then restart sshd.
 
thx so much.
I resolved it with .rhosts update.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top