ssh2: .profile not set correctly


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers ssh2: .profile not set correctly
# 1  
Old 05-13-2004
ssh2: .profile not set correctly

When logging into solaris box through ssh, my profile does not get set correctly and I'm presented with the default ksh prompt "$".
When logging in through telnet, everything is set correctly. Is there a special profile that sshd runs?

ssh2: F-Secure SSH 2.4.0 (build 15) on sparc-sun-solaris2.8
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. SCO

Set NIC correctly , but the network does not work

I'm trying to virtualize an instance of SCO Open Server 5.0.2c in VirtualBox (called VM- A) , I can not configure the network (NIC). The NIC I'm using is PCnet -FAST III (Am79C973 ) (this NIC works with VirtualBox + SCO 5.0.5M) When I add from ' Add new LAN adapter' I detects the NIC... (2 Replies)
Discussion started by: flako
2 Replies

2. Shell Programming and Scripting

How to set up newgrp on .profile?

Hello all, I am having an issue setting up an environment on .profile. I want to set up my .profile in that way that everytime I login to the host, it should automatically set up my group. I tried the folllowing but it doesn't work. It is on the solaris OS. HOSTNAME=$(hostname) if ] || ]... (14 Replies)
Discussion started by: Pateltiger
14 Replies

3. Solaris

LC_ALL & LANG are set OK, but others couldn't set locale correctly.

Hi, I have a Solaris (SunOS 5.10) installed, by default with the en_AU.UTF-8 locale. I want to change it to en_US.UTF-8 With AU, I have no issues whatsoever, so I installed the language package and now locale -a shows "en_US.UTF-8". Problem is even with LC_ALL set in etc/default/init, the... (2 Replies)
Discussion started by: asdfg
2 Replies

4. Solaris

couldn't set locale correctly

Dear All, I Have problem at my console (Ultra 24, solaris 10 x86), when i type dmesg always come out : like this You have new mail. root@console # bash root@console # dmesg couldn't set locale correctly couldn't set locale correctly So how to fix it...? Best Regards simbah (3 Replies)
Discussion started by: mbah_jiman
3 Replies

5. Solaris

Couldn't set locale correctly

Hello, I have a recently configured machine that when log into it as a user or remotely as root it displays "Couldn't set locale correctly" When I type locale it displays the below which is wrong compared to other machines LC_CTYPE="C" LC_NUMERIC="C" LC_TIME="C" LC_COLLATE="C"... (7 Replies)
Discussion started by: Mr Pink
7 Replies

6. Solaris

Couldn't set locale correctly

hi All, I'm using sun OS 5.10. All locales are set to en_US.ISO8859-1 in /etc/profile/init file. I'm using one functional user.When I tried to "sesu - functionalUser",its giving me error like "Couldn't set locale correctly".In functional user profile i'm tring to set locales to en_US.After... (1 Reply)
Discussion started by: Kathraji
1 Replies

7. UNIX for Dummies Questions & Answers

How do I set the public keys up correctly for a migration from an HP-UNIX server to I

I am getting the error message "Permission denied (publickey). lost connection" when I attempt to do an scp migration. I know how to generate the public keys in both IIS and UNIX, and I believe they are both suppose to have the same public key - but where are they each suppose to be stored (I... (1 Reply)
Discussion started by: whs2k
1 Replies

8. UNIX for Dummies Questions & Answers

.profile problem using set -o vi

The “set -o vi” command won't run in the .profile. WHY? This has me puzzled as the problem seems to be too simple, but can't figure it out. Here's the info... Running... Generic sun4u sparc SUNW,Ultra-5_10 K shell Here's the .profile # Copyright (c) 2001 by Sun Microsystems, Inc. # All... (12 Replies)
Discussion started by: jimmyc
12 Replies

9. UNIX for Dummies Questions & Answers

Couldn't set locale correctly

When a user connects via ssh to one of out Sun V120 boxes the following message is displayed. "couldn't set locale correctly" The .profile has the following line # @(#)local.profile 1.6 98/02/06 SMI stty istrip stty erase ^H So I put a set -x in the .profile and re sourced it and... (1 Reply)
Discussion started by: mattd
1 Replies

10. UNIX for Dummies Questions & Answers

why the PATH can not be set correctly?

I'm using Linux-Mandrake 8.0 in my laptop. After I logged in as a "root", I added a new path in my .bashrc file (I use bash shell). Then I can observe it has been set correctly by typing echo $PATH. But, when I log in again as a personal account, not "root", then I open my bash shell, and type... (5 Replies)
Discussion started by: yishen
5 Replies
Login or Register to Ask a Question
pcserver(1M)															      pcserver(1M)

NAME
pcserver - Basic Serial and HP AdvanceLink server SYNOPSIS
[log_file]] DESCRIPTION
is the hostside server program for Basic Serial and AdvanceLink, and is started and terminated by an application program running on a PC. supports both the Basic Serial and the AdvanceLink protocols. Basic Serial offers a library of routines that support a variety of services between a PC and a serially connected host computer, including file transfers and remote interprocess communications. AdvanceLink is a terminal emulation program that also supports file transfers between a PC and host system over various physical connec- tions. Options The following options are recognized by pcserver: This option is now obsolete, but is retained for compatibility with earlier versions of software. Logging is now controlled by the presence or absence of the server.pro file as described in NOTES, below. Enables packet logging and records messages to a specified log file (for debugging). If logfile is not specified, the file is used in the default logging directory, as defined in the file. looks for a local version of server.pro in the user's home directory. If none is found, it will look for a system-wide version as or If the exists, logging is appended to it. If the file does not exist, logging is disabled. Informs that a "netmode" for data encryption should be used during special operations (for example, a netmode is needed to mask device control characters when a PAD is being used). The details of the netmode are then negotiated between the and the PC application. For a more comprehensive discussion on netmode, see Causes to print its version number to standard output and quit. is designed to be invoked by a PC application program rather than from the command line. In order for the connection to be correctly established, the PC and host port must be properly configured. If you are using to manage a session between a PC and a hostside application (via Basic Serial), you may need to use a Basic Serial connec- tion file to actually log in to your account. Establishing connections using Basic Serial connection files is a sensitive operation. Before attempting to use them, you should read the manual If you are using to transfer files between a PC and a host machine via Advancelink, use the following AdvanceLink commands: If your prompt does not end with replace the in the terminator command with the last character in your normal prompt. To permanently configure AdvanceLink for the HP-UX version of refer to the manual for more information. NOTES
Packet logging is controlled by the presence or absence of the file looks for a local version of in the user's home directory. If none is found, it will look for a system-wide version as or If no logging file is found in these directories, logging is not performed. A commented example of a may be found in or To make use of this file, copy it to the active file name, in one of the previously mentioned directory locations. If your screen displays a message when you choose START TRANSFER from AdvLink, either has not yet been installed on your HP-UX system, or it has been installed in a directory that is not part of your current path. HP-UX treats files containing binary or ASCII data identically. Therefore it is up to the user to specify the desired file type when using to transfer files with Advancelink. The difference between the two is that during ASCII transfers, maps HP-UX line-feed characters to the MS-DOS carriage-return/line-feed pair. This produces incorrect results when transferring a binary file as an ASCII file. Also, older versions of AdvanceLink show totally inaccurate estimates for file transfer times. This does not interfere with the actual transfer. If the PC is reset while a transfer is taking place, it may temporarily appear to be a "dead" terminal port. This is no cause for alarm; left to its own devices, will restore the port in a short time. In the worst case, it could take six timeout periods (6x20 = 120 seconds). For faster response, press the Break key a few times to terminate immediately. FILES
the executable program system-wide logging profile system-wide logging profile local logging profile commented inactive example of server.pro commented inactive example of server.pro SEE ALSO
Describes protocol and how to use AdvanceLink. Describes Basic Serial and how connection files should be used. pcserver(1M)