I'm trying to copy a file from a remote unix box, host1, to my unix box, host2. The first line of code gets the last word from a text document (this is the name of the file I need from host1)
I get the following error:
rcp: /tmp: not a plain file
rcp is trying to copy the whole /tmp directory for some reason. I need just the 1 file.
Last edited by mrskittles99; 07-13-2012 at 11:01 AM..
Hi,
Can anyone help me to trace who has made rcp to a HP-UX machine? Is there a file that keeps such records? I know ftp's are recorded in /var/adm/syslog but i only need rcp.Thanks... (0 Replies)
I am trying to set up RCP so root can access a few machines for file transfer. On the target machine, I have set up a .RHOSTS file that looks like:
10.33.1.59 root
However when I try to use RCP to copy a file to this machine, I get permission denied. Is it possible since another user is... (1 Reply)
Hi,
Good day to you all. I am trying to use rcp command to transfer some files on the remote machine. I have already setup .rhosts on my server and on the remote machine. When I do rcp I get this error message
rcmd_af: Lost connection
Is anybody familiar with this one? Thanks in advance.
... (3 Replies)
Hi,
The B machine is using rcp method to copy a file to A machine.
But it is not getting copied.
Its giving the error as:
remshd: Login incorrect.
On A machine rhosts file has details about the B machine.
Could anyone tell what could be done to make this work?
Any help is appreciated.... (1 Reply)
I HAVE A PERL SCRIPT WHICH RCP files from one server to another. The script is not having any issues for years and it is running for more than 3 years . Last week it had failed with error "Command timed out " error. Please help me out (2 Replies)
hi,
When i use RCP command to copy filr from a different servers, it is showing as connection refused???
ca anyone help me out???
thanks,
Arun Manas:b: (2 Replies)
Dear Friends,
I am trying to copy SAP log file from one HPux server1 to another HPux server2 remotely through one script.
following command has written in the script.
rcp -rp /oracle/PRD/sapreorg/*.dbf oraprd@drsite:/oracle/PRD/sapreorg
Above command working fine from command mode.... (5 Replies)
Hello,
Could anyone help me in explaining what the below command actually means?
rcp file_name user_name@ukpm01:cgiprod:file_name1
I know the rcp format as:-
rcp filename username@servername:directory_location
But what to do with multiple colons?
I am on SunOS Solaris... (2 Replies)
Discussion started by: shubh05
2 Replies
LEARN ABOUT OSF1
rwho
rwho(1) General Commands Manual rwho(1)NAME
rwho - Shows which users are logged into hosts on the local network.
SYNOPSIS
rwho [-a]
rwho [-a] [users]
OPTIONS
Includes all users. Without this option, users whose sessions are idle an hour or more are not included in the report.
DESCRIPTION
The rwho command displays the username, hostname, and start date and time of each session for everyone on the local network who is cur-
rently logged in to a host running the rwhod daemon.
If one or more user names are specified, only the status of those users whose names are listed appears on the screen. If a user has not
typed anything for at least 3 minutes, rwho reports the idle time as a number of minutes in the last column. After an hour of inactivity,
a user is not included unless the -a option is specified. Because this command displays a lot of output, use this command with caution if
the local network has a large number of users.
Status information is broadcast once every 3 minutes by each network host running the rwhod daemon. Any activity (such as a user logging on
or off) that takes place between broadcasts is not reflected until the next broadcast.
EXAMPLES
To get a report of all users currently logged into hosts on the local network, enter:
$ rwho
bob host2:pts5 Nov 17 06:30 :20 bob host7:console Nov 17 06:25 :25 franz
host1:pts0 Nov 17 11:20 :51 franz host1:pts8 Nov 16 15:33 :42 franz host4:console
Nov 17 16:32 pietro host1:console Nov 17 13:14 :31 pietro host1:pts7 Nov 17 13:15 :47 server
host2:console Nov 17 06:58 :20 luis host2:pts6 Nov 17 09:22
FILES
Indicates data files received from remote rwhod daemons.
SEE ALSO
Commands: ruptime(1), rwhod(8)rwho(1)