06-05-2004
rcp between two unix machine
rcp user@hostname:sourcefile destfile
when i use the above command i get the followin error:
remshd:login incorrect.
i have taken care of entries in .rhosts and hosts.equiv. the userid
on both the system is the same. is there any thing i have missed out
please help me
10 More Discussions You Might Find Interesting
1. IP Networking
I try an RCP command from winnt to unix and it works only with 2 pc but with the two others it dosen't work....? MS-DOS return this error msg : 0826-826 The host name for your address is not known.
What can I do to resolve my probleme ?
Dimitri
Geneva - Switzerland (2 Replies)
Discussion started by: dfrangidis
2 Replies
2. UNIX for Dummies Questions & Answers
I am attempting to use "rcp" to transfer files from a linux box(redhat) to a windows 2000 server box and keep getting a "connection refused" message.
Are there any special services/daemons on either side that I need running or any special ports I need open to do this? How about files? I read... (1 Reply)
Discussion started by: mcrouch_2003
1 Replies
3. Windows & DOS: Issues & Discussions
Hello,
Native XP rcp does not have a password prompt as far as I can see. I require a rcp.exe to copy a file from Sco to my XP pc. I did have this program that was part of pcnfs a few years ago.
I need to run a scheduled batch job from a command line being.
rcp.exe 192.168.5.33 -user root... (0 Replies)
Discussion started by: phil martin
0 Replies
4. UNIX for Advanced & Expert Users
hi
i want run an unix application from a windows program/application.i am using SSH(command line version)to log on to a unix machine from windows. the application has to read a configuration file inorder to run. the configuration file .CFG is in bin in my home directory. but the application... (1 Reply)
Discussion started by: megastar
1 Replies
5. UNIX for Advanced & Expert Users
Anyone experience with using rcp to copy data between windows and Unix (AIX)? (6 Replies)
Discussion started by: rein
6 Replies
6. Shell Programming and Scripting
i need to ftp a file from windows to a unix machine by executing a sript(perl/shell/php) from that unix machine.i can also use HTML and javascript to build forms. (3 Replies)
Discussion started by: raksha.s
3 Replies
7. UNIX for Dummies Questions & Answers
my friend asked me to help him installing some sort of unix app on a server running some soft unix(that server runs MRI thing), and the only thing about that server he knows is OS ver 9.1.
So what OS can it be? And normally what type of UNIX OS is installed on a MRI machine?
THanks (1 Reply)
Discussion started by: fedora
1 Replies
8. UNIX for Dummies Questions & Answers
Hi everybody; How are you?
I have a machine with these components
motherboard Gigabyet
processor Intel
RAM Kingstone 1GB
HDD Westerndigital 160GB
DVD ASUS
I use this machine for labs, I was running WinXP
I am now taking one of Sun's exams, I formated the HDD and get... (3 Replies)
Discussion started by: katilina
3 Replies
9. Shell Programming and Scripting
Hi All..
Am new to Unix!!
Am creating a shell script in which a scenario is like i have transfer the output file from unix machine (Server) to local directory (Windows xp).
And also i have to transfer the input file from the local directory to Unix machine (Server)
Any help from you... (1 Reply)
Discussion started by: vidhyaS
1 Replies
10. Shell Programming and Scripting
Hi All
I have window 7 ultimate installed on my machine.
i want to install unix just like an application
when i click on the application i should work on unix and when i close that application normal window 7 appears
Example-: like in case of windows suppose we have installed the sql... (6 Replies)
Discussion started by: parthmittal2007
6 Replies
rhosts(4) Kernel Interfaces Manual rhosts(4)
NAME
rhosts, .rhosts - Specifies remote users that can use a local user account
SYNOPSIS
$HOME/.rhosts
DESCRIPTION
The .rhosts file contains a list of remote users who are not required to supply a login password when they execute the rcp, rlogin, and rsh
commands using a local user account.
The .rhosts file is a hidden file in your home directory. It must be owned by you or the root user and it must not be writable by group or
world, otherwise, it is not used. Moreover, although it is not required, it is sensible to set the permissions of the file to 600, so the
file is not readable by group or world.
Each entry in the file is of the following form: host [user]
where: The name of the remote host. If the remote host is in a different domain than the local host, the full domain name must be speci-
fied. The login name of the remote user. This field is optional. If this field is not specified, any user on the specified remote host is
exempt from providing a password, and is assumed to have the same username on both the local and remote hosts.
Optionally, an NIS netgroup name can be specified for the host name, user name, or both.
Entries in the .rhosts file are either positive or negative. Positive entries allow access; negative entries deny access. The following
entries are positive: hostname username +@netgroup
In addition, the plus sign (+) can be used in place of the hostname or username. In place of the hostname, it means any remote host. In
place of the username, it means any user.
The following entries are negative: -hostname -username -@netgroup
EXAMPLES
The following sample entries in the /u/chen/.rhosts file on host zeus allow users moshe and pierre at remote host venus and user robert at
the hosts specified in the NIS netgroup chicago to log in to user chen's home directory on host zeus: venus moshe venus pierre +@chicago
robert
FILES
Specifies remote users who can use a local user account.
RELATED INFORMATION
Commands: rcp(1), rlogin(1), rsh(1).
Functions: ruserok(3).
Files: hosts.equiv(4), netgroup(4).
Functions: rcmd(3). delim off
rhosts(4)