![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| problem with output of find command being input to basename command... | new_learner | UNIX for Dummies Questions & Answers | 2 | 12-14-2008 02:56 AM |
| awk/sed Command : Parse parameter file / send the lines to the ksh export command | rajan_san | Shell Programming and Scripting | 4 | 11-06-2008 01:29 PM |
| assign a command line argument and a unix command to awk variables | sweta_doshi | Shell Programming and Scripting | 0 | 08-08-2008 07:54 AM |
| Help Required: Command to find IP address and command executed of a user | loggedout | Security | 2 | 08-06-2008 09:12 PM |
| inconsistent ls command display at the command prompt & running as a cron job | rajranibl | SuSE | 5 | 07-30-2007 09:26 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
rcp command
Hi friends,
Am trying to push a file on a remote server to my local host but getting "permission denied." error. Please let me know the basic steps that i need to have a look at in order to let the "rcp" command work successfully. Pl. Note: Both the servers belong to Sun Solaris 10 SPARC family. |
|
||||
|
Tx for the reply.
I did the following ------On Local server $HOME/.rhosts---------------- remoteserverip remoteuserid --------------------------------------------------- ------On Remote server $HOME/.rhosts------------- localserverip localuserid --------------------------------------------------- chmod 777 given to .rhosts file on both the servers After employing the abovesaid steps, i tried again, but got the same error"Permission denied." Pls advice if i need to carry out any other required steps to get my desired result. rgds, Srini |
|
||||
|
Permissions on .rhosts should be 644 (on some systems 600) owned by the account concerned or (preferably) root. Many unixes will ignore a .rhosts file which has incorrect permissions as an anti-hack measure.
To emphasise the reply from "tahleen": No IP addresses in .rhosts - it must be the exact host name and precisely match that server's entry in /etc/hosts. See "man .rhosts". Tip: If you put your own host name and username in .netrc in your home directory on your local computer you can test rcp to yourself. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|