ssh root@mrp-gateway problems


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting ssh root@mrp-gateway problems
# 1  
Old 05-08-2008
ssh root@mrp-gateway problems

Dear friends,

exec 0<$SuppFile
while read LINE
do
echo $LINE
gatewayArchive=`ssh root@mrp-gateway "cd /usr/local/apache/data/PLAT/MIMUS/upload/PROD/archive && ls $LINE"`
echo "gateway files :"$gatewayArchive
done

this loop is not repeating when i use ssh root@mrp-gateway line of code.
Please look into this issue and give me solutions its urgent.

Thanks
Krish.
# 2  
Old 05-09-2008
i was stucking here, please can any one look into this script.

Thanks
Krish.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Inconsistency between RedHat 6.5 global gateway and single gateway leads to loss of default gateway

Dear friends I use RedHat 6.5, which sets the gateway in the configuration file / etc / sysconfig / network as GATEWAY = 192.168.1.26, and the gateway in the configuration file / etc / sysconfig / network-scripts / ifcfg-eth11 as GATEWAY = 192.168.1.256. The two gateways are different.... (6 Replies)
Discussion started by: tanpeng
6 Replies

2. Shell Programming and Scripting

MRP shell script

Hello, I am in need of a simple shell script for my job. When given product quantity is shipped from factory, I want to reduce related subparts existing in product tree and keep my warehouse stocks up to date by running a script. Scenario: I sold and produced 5pcs of the product nr101. Here... (2 Replies)
Discussion started by: baris35
2 Replies

3. SuSE

Auditors want more security with root to root access via ssh keys

I access over 100 SUSE SLES servers as root from my admin server, via ssh sessions using ssh keys, so I don't have to enter a password. My SUSE Admin server is setup in the following manner: 1) Remote root access is turned off in the sshd_config file. 2) I am the only user of this admin... (6 Replies)
Discussion started by: dvbell
6 Replies

4. Linux

GNUGK-How to setup static gateway to gateway routing

Dear Sir I am a newbie in the world of IP telephony. I have been working with Asterisk PBX (SIP) and Cisco Call Manager (MGCP) but now I am learning on how to work GNUGK for H.323 Gatekeeper. I am having a problem, configuring static call routing on GNUGK in the section ... (0 Replies)
Discussion started by: mfondoum
0 Replies

5. UNIX for Dummies Questions & Answers

MTA problems; root gets no mail

Hello, I am afraid that I goofed up my mailing system. I have an Ubuntu 9.10 system $ uname -smor Linux 2.6.31-14-generic x86_64 GNU/Linux I am wanting to receive cron job mails. I noticed that cron jobs were trying to send mail to sendmail. I had installed ssmtp so I could send mail... (1 Reply)
Discussion started by: Narnie
1 Replies

6. UNIX for Dummies Questions & Answers

Non root login problems in AIX

Hi All, I have setup a non root user on AIX 5.3, using smit. When I try logging on as that user my login screen just disappears. I am using PUTTY. I login to the same box as root no problems. I have tried re-creating several different usernames but get the same effect I have also telneted from a... (2 Replies)
Discussion started by: hansul
2 Replies

7. Web Development

Problems writing app that will communicate with gateway(newbie,last bit of project)

Hi all, Im writing an app that will contact a specified gateway and retrieve info onto our server and perform manipulations on it then return the result back to the gateway for further operations... But I'm a newbie and dont have much of an experience in network programming... Would like to... (0 Replies)
Discussion started by: wrapster
0 Replies

8. UNIX for Advanced & Expert Users

ssh - transfers with gateway hopping

Hi, I am having trouble transferring files from a source UNIX machine to a destination UNIX machine by hopping via 2 gateway machines. The user used for the transfer has been setup/authorized so no password is required to login. Summerized: source to gateway1 to gateway2 to destination ... (2 Replies)
Discussion started by: Solarius
2 Replies

9. UNIX for Dummies Questions & Answers

Root problems??

So when I log in as root on my eMac (running tiger, 10.4.11), some things don't work or reluctantly work. Examples: Computer:/Users/mat/Desktop root# pico test.doc Error opening terminal: network. Computer:/Users/mat/Desktop root# emacs test.doc Error opening terminal: network. ... (3 Replies)
Discussion started by: razordp
3 Replies

10. AIX

Problems with disabling remote root login

Hello! I'm going through security checklist for AIX 5.3 and i just can't disable remote login for root through ssh. What i did: - in /etc/security/user i added a line: rlogin = false which works fine when i try to login through telnet - after installation of openSSH i edited... (3 Replies)
Discussion started by: veccinho
3 Replies
Login or Register to Ask a Question