ssh + clearcase hangs


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users ssh + clearcase hangs
# 1  
Old 05-03-2007
ssh + clearcase hangs

Hi,

prefix: cleartool is an clearcase command. clearcase is a control version tool

I have setup a passwordless ssh connection between Unix machines A and B. I am executing a ssh command from Unix box 'A' to Unix box 'B' as follows.

ssh username@B 'ls /home/username'
This works perfectly fine gicing desired results

But the following command
ssh username@B 'cleartool setview myuserview; ls /vobs/ccase'
gives cleartool path not found

If I change it to
ssh username@B '<complete_pathofcleartool_on_B>/cleartool setview myuserview; ls /vobs/ccase'
hangs with no results. I will have to kill it but no results.

Any pointers

Thanks,
Sunil
# 2  
Old 05-03-2007
Is there a script that contains environment setup that you normally use prior to running cleartool on the UNIX host?
# 3  
Old 05-03-2007
This hangs, because cleartool is trying to start an interactive shell session, and the ssh command never returns as a result.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

ssh problem - hangs and then wont connect

Got a Solaris 10 server with two interfaces - 10.0.110.233 and 10.0.111.233. I can ssh to 10.0.110.233 with no problems. But after a certain amount of time it just hangs. Nothing. Then if I try to ssh to 10.0.110.233 again - times out. But I can still ssh to 10.0.111.233. And I can still ping... (1 Reply)
Discussion started by: psychocandy
1 Replies

2. UNIX for Dummies Questions & Answers

clearcase,

Hi, I have two unix server. In one server clearcase is installed. I want to take files from one server to clearcase server. Could anyone help to start up this, for how to connect clearcase server from my main server. ?? Currently am having IP address of that clearcase server. Thanks in... (0 Replies)
Discussion started by: ckchelladurai
0 Replies

3. Solaris

Solaris ssh client hangs when connecting to another Solaris machine

Got a strange problem. I have 4 Solaris servers all configured the same, Solaris 10 x86 update 10. When I try to ssh from one Solaris 10 server to another server ssh hangs. I have an identical server and when I try this everything works fine. The weird thing is if I am root on the server... (1 Reply)
Discussion started by: ccj4467
1 Replies

4. Shell Programming and Scripting

ssh hangs on exit

Hi, Any workaround for this issue, since i am using one script to execute the remote script for several remote server, everything works fine except some of the servers process are hangs even its completed. ---Please help me to resolve this issue---- Script details are here.. Code:... (0 Replies)
Discussion started by: l_gshankar24
0 Replies

5. Shell Programming and Scripting

ssh hangs on exit

Hi, Any workaround for this issue, since i am using one script to execute the remote script for several remote server, everything works fine except some of the servers process are hangs even its completed. ---Please help me to resolve this issue---- Script details are here.. for... (2 Replies)
Discussion started by: l_gshankar24
2 Replies

6. Shell Programming and Scripting

Piped output from SSH tunnel hangs?

Hi All, When starting an SSH tunnel, piped output 'hangs' (on AIX) : ssh -Nf -Llocalhost:22000:server:22 proxy | cat -vet - ... hangs ... Does anybody know how to prevent this? Of course, in my script I don't use the tunnel as I do in the example above. In my script the call to ssh is... (7 Replies)
Discussion started by: whbos
7 Replies

7. UNIX for Advanced & Expert Users

SSH hangs

Hi all, At a little bit of loss here. I have a Linux box (Redhat Enterprise 4) that has been working flawlessly for a while, that is until late Tuesday when none of the users could ssh into it. The machine is in a DMZ over which I have no control of the network settings. Here is the debug output... (6 Replies)
Discussion started by: ccj4467
6 Replies

8. UNIX for Dummies Questions & Answers

Clearcase Query

Hi, Can you please help? I am trying to use variables within a clearcase command, however i am having a major problems - the variables don't appear to be accessible. Using the following as an example: cat=1 2 3 dog=4 5 6 cleartool mkattr -replace Four_Legs '"$cat $dog"' lbtype:Animal ... (3 Replies)
Discussion started by: spikey
3 Replies

9. AIX

SSH login hangs, serial console works

Server, running AIX 6.1 developed strange problem when logging in via SSH -- ssh client hangs without any error. It is possible to run commands on server, using ssh ("ssh servername ls -l" is OK) It is possible to log in normally, using serial console connected to server. It was possible to... (2 Replies)
Discussion started by: ivar.zarans
2 Replies

10. Linux

RPM with ClearCase

Hello. I have a task to complete and it involves using RPM with ClearCase. I have looked through as much documentation as possible about RPM and I still have questions about it. My task is to create a .rpm using ClearCase by unzipping a 22 Mb file and placing it into a set directory structure. I... (2 Replies)
Discussion started by: mastachef
2 Replies
Login or Register to Ask a Question