09-27-2010
(t)c shell problem and ssh
I have recently discovered an annoying problem with some of our Linux boxes (running Opensuse 11.3) that is defying our attempts to resolve.
If I (or anyone else using c shell) log in remotely to 2 of our Opensuse 11.3 machines with ssh, then they cannot run a lot of software. It seems that $PATH is not synchronised with $path and $PATH appears to be read only. Furthermore echo $PATH does not return the same thing as printenv $PATH.
A third machine running Opensuse 11.3 is fine. Also if I log in to these machines on the console, they are fine!
We cannot determine the cause (and solution).
Any ideas?
Andrew
![Confused Smilie](https://www.unix.com/images/smilies/confused.gif)
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
Just recently we seem to be getting the following error message relating to SSH when we run the UNIX script in background mode:
warning: You have no controlling tty. Cannot read confirmation.^M
warning: Authentication failed.^M
Disconnected; key exchange or algorithm negotiation... (1 Reply)
Discussion started by: budrito
1 Replies
2. UNIX for Advanced & Expert Users
Hi,
What the problem is that we have a client that has now decided to use SSH protocol 2 only for their internal security audit. This is not a problem except now our SCO system will not connect.
I can connect with putty from a windows box fine until the SCO system tries to access which then... (0 Replies)
Discussion started by: Bilb
0 Replies
3. UNIX for Dummies Questions & Answers
Hi Floks!
This is Sravan!
I am new to linux and I am trying to write bash shell script in which I want to change the user but the statements which are after the "su " command are not working that I mean I want to execute some statements as the changed user
here is the code
... (2 Replies)
Discussion started by: sravanp
2 Replies
4. AIX
I thought I had seen all errors in SSH but the following is new to me:
buffer_get: trying to get more bytes 129 than in buffer 6
Anyone seen this before please? Google search returns nothing of use that I can see.
I am running an lpar on a 52A and the O/S is AIX 5.3 TL 4CSP. (2 Replies)
Discussion started by: johnf
2 Replies
5. UNIX for Advanced & Expert Users
hi all!
i'm trying to make ssh connection between COMP1 to any computer on my network and i get this error:
"Host key verification failed."
any computer can access COMP1 in ssh...
i have already deleted the "known_hosts" and "authorized_keys" files and created them again...
any1 have an... (1 Reply)
Discussion started by: eliraza6
1 Replies
6. Shell Programming and Scripting
Hi
Please help me with the following problem with my script.
The following block of code is not repeating in the while loop and exiting after searching for first message.
input_file
==========
host001-01
host001-02
2008-07-23 13:02:04,651 ConnectionFactory - Setting session state... (2 Replies)
Discussion started by: pcjandyala
2 Replies
7. Shell Programming and Scripting
Hi ,
I have this piece of code.
for xyz in `grep "$envir $envtype" ~/user/Move/config/ProdEnvList|cut -d "|" -f11`
do
username=`cat ~/user/Move/config/ProdEnvList|grep $xyz|cut -d "|" -f7`
hostname=`cat ~/user/Move/config/ProdEnvList|grep $xyz|cut -d "|" -f6`
ssh $username@$hostname -n 'cd... (2 Replies)
Discussion started by: debu182
2 Replies
8. UNIX for Dummies Questions & Answers
Hi whenever i try to do any ssh related activity like.
ssh <servername>, scp some files to a server i get =true I have checked modt message but nothing is there.
I can able to get the ssh session but for scp, =true prompt get displayed but nothing happens.
For example:
# scp file1.txt... (5 Replies)
Discussion started by: pinga123
5 Replies
9. Solaris
Hi Guys,
when I try to login to one of my sun server (sparc) from within an open putty session on another server I get this message:
bash-3.2$ ssh 10.0.0.10
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @... (1 Reply)
Discussion started by: cjashu
1 Replies
10. Shell Programming and Scripting
I am able to login to server x from y in shell script. But after that command is get executed on server y. I need the command to be executed on server x.
Ex.
ssh -n 0.0.0.X
ls -ltr
Above script I am executing from 0.0.0.Y
I got result but it executed on server Y server. But when I use ssh... (4 Replies)
Discussion started by: babapatil14
4 Replies
LEARN ABOUT CENTOS
platform::shell
platform::shell(n) Tcl Bundled Packages platform::shell(n)
__________________________________________________________________________________________________________________________________________________
NAME
platform::shell - System identification support code and utilities
SYNOPSIS
package require platform::shell ?1.1.4?
platform::shell::generic shell
platform::shell::identify shell
platform::shell::platform shell
_________________________________________________________________
DESCRIPTION
The platform::shell package provides several utility commands useful for the identification of the architecture of a specific Tcl shell.
This package allows the identification of the architecture of a specific Tcl shell different from the shell running the package. The only
requirement is that the other shell (identified by its path), is actually executable on the current machine.
While for most platform this means that the architecture of the interrogated shell is identical to the architecture of the running shell
this is not generally true. A counter example are all platforms which have 32 and 64 bit variants and where a 64bit system is able to run
32bit code. For these running and interrogated shell may have different 32/64 bit settings and thus different identifiers.
For applications like a code repository it is important to identify the architecture of the shell which will actually run the installed
packages, versus the architecture of the shell running the repository software.
COMMANDS
platform::shell::identify shell
This command does the same identification as platform::identify, for the specified Tcl shell, in contrast to the running shell.
platform::shell::generic shell
This command does the same identification as platform::generic, for the specified Tcl shell, in contrast to the running shell.
platform::shell::platform shell
This command returns the contents of tcl_platform(platform) for the specified Tcl shell.
KEYWORDS
operating system, cpu architecture, platform, architecture
platform::shell 1.1.4 platform::shell(n)