Remote login/copy command throwing an error


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Remote login/copy command throwing an error
# 1  
Old 02-12-2008
Remote login/copy command throwing an error

Hi
We had 3 server -hp112and hp146 here hp112 is production server and hp146 is staging server used for load.
when i am trying to run follwing command

rcp abc hp112:/dnbusr1/gbid/gbid02 it's trowing an error :-
remshd: Login incorrect.

But same command is working wise versa -
rcp abc hp146:/dnbusr1/gbid/gbid01

here user id and pwd are same for both server and remote login from hp146 to hp112 also work.
# 2  
Old 02-12-2008
Quote:
Originally Posted by ashish_panpalia
Hi
We had 3 server -hp112and hp146 here hp112 is production server and hp146 is staging server used for load.
when i am trying to run follwing command

rcp abc hp112:/dnbusr1/gbid/gbid02 it's trowing an error :-
remshd: Login incorrect.

But same command is working wise versa -
rcp abc hp146:/dnbusr1/gbid/gbid01

here user id and pwd are same for both server and remote login from hp146 to hp112 also work.
* visit the remote machine, look at the auth logs.

* rlogin directly and interactive (rather than rcp) and with verbose / debug args.

With the above you should be able to figure out if the remote home directory is missing, if the password is bad, if the user isn't there, if remote logins are disabled, if the account is disabled, if your out of blinker fluid, etc.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

For Loop throwing error

Hello Gurus, I am writing one script at linux. The logic is There is a find command which will find some specific files daily and store at a variable Then echo that variable . Now when I am trying to read the variable by using for loop it is throwing error as below:cat: CKDT.dat: No such... (5 Replies)
Discussion started by: pokhraj_d
5 Replies

2. Shell Programming and Scripting

sed command throwing error while deleting a line from a file

Hi all, I ahve a program which has to delete a line in a file... if i run the sed command through shell prompt it works fine. But if run it using code its throwing error. May i know where i am doing wrong. the file has 3 lines # cat /root/.ssh/known_hosts... (4 Replies)
Discussion started by: vivek d r
4 Replies

3. Shell Programming and Scripting

Tr--translate is throwing an error

Dear all, I would like to count the no;of word "INFORMATION" in a file called alt.lst and output to a unix variable INFORMATION.so to do this I wrote the below code INFORMATION=echo 'INFORMATION' | tr -cs 'A-Za-z' '\n' < /app/tisq005/01/home/tisq005b/scripts/alt.lst | grep -c "INFORMATION"... (2 Replies)
Discussion started by: Kiransagar
2 Replies

4. Shell Programming and Scripting

for loop with internal unix command in statement throwing error

Hi I've gotten a plugin script that won't run. I keeps throwing an error at the following line. for BARCODE_LINE in `cat ${TSP_FILEPATH_BARCODE_TXT} | grep "^barcode"` do #something done The error reads ... (3 Replies)
Discussion started by: jdilts
3 Replies

5. UNIX for Dummies Questions & Answers

Mailx command in unix shell script, its throwing below error

How to use Mailx command in unix shell script, its throwing below error #!/bin/ksh let x=3 If ; then mailx -s “ $x is greater than 2” example@gmail.com << EOF This is the message body EOF fi its throwing error as syntax error at EOF... (10 Replies)
Discussion started by: only4satish
10 Replies

6. Shell Programming and Scripting

How to give user name and password in a single command to login to remote server

Hello All, I'm new to unix and i need the below favour from you. I have list of 50 unix server. I need to login to all the server one by one and with the same user and password. I will declare the user name and password globally in the script. for example : servername- hyperV user name... (4 Replies)
Discussion started by: Hari A
4 Replies

7. Solaris

how to login with ssh to remote system with out applying the remote root/usr password

how to login with ssh to remote system with out applying the remote root/user password with rlogin we can ujse .rhosts file but with ssh howits possible plz guide (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies

8. Shell Programming and Scripting

Remote Login error in Perl

Hi, This is in PERL. I am trying to remotely login to a server to access and grep a log file. This is what I have defined in my Hash %servers = ('box1' => 'userid1', 'box2' => 'userid2', 'box3' => 'userid3', 'box4' => 'userid4'); %log = ('box1' => ... (1 Reply)
Discussion started by: nurani
1 Replies

9. UNIX for Dummies Questions & Answers

doubt in ssh command for remote login

Hello sir, Im using ubuntu distro. We all know that ssh is used for password less entry.So, I have the public key and the IP address and the username thats it. Now to login it to the system either I should have password or a private key.Now I have the blacklist of private/public keys. But I dont... (1 Reply)
Discussion started by: nsharath
1 Replies

10. Shell Programming and Scripting

sccs get -ek command is throwing err

Hi, get -ek s.Communicator.java The difference between the current date and the creation date of the newest delta in the SCCS file is greater than 1 year. Make sure that the system date is set correctly. This message is only a warning. (co11) 14.3 ... (0 Replies)
Discussion started by: Shivaprasad BS
0 Replies
Login or Register to Ask a Question