executing .profile with ssh

Hi, How do I get all my profile settings when connecting with ssh?

quote:
executing .profile with ssh

Hi, How do I get all my profile settings when connecting with ssh?
------------------------------------------------------------------------------------------------

are you using a remote account or are you accessing your own machine?? secondly are you trying to access it or perform a command line function.. if you are using ssh on a remote account try the "nano" edittor for editting profile file (pico).. if you are accessing your own machine just use any edittor as you would if you were on your machine... .... but if you want to perform a command line execution try rcp (man rcp) to simply send a commad to your machine or a remote machine on the command line envoking rcp and the command that you wish to excute and that should save you the hassle of having to get into your account and fiddle about..
moxxx68
ps .hope that!! helps

re:edit.
if you are trying to transfer your setting from one machine to another copy your profile file and ftp it... again you can use ssh or use rcp.

I'm using a remote machine. I try to access a cvs repository but when connecting to it it can't find the correct environment variables because it doesn't run the .profile. So I need a way to set environment variables with ssh. There's nothing wrong with my profile, ssh just doesn't pick up the environment variables of the user account.

try ssh -Xt
in the man pages there are few options that may let you force the connection to perform otherwise.. try it..
moxxx68

the solution:

enable PermitUserEnvironment in ssh_config
add environment file with VAR=VALUE in .ssh directory

--> ssh(1) - OpenBSD manual pages

you know i wouldn't doubt it if the man pages had options that could override the problem that you were having staticaly rather than the global changes that you made.. even though configuring the confi.files should be the first place to search.. that way if you decide to keep the changes you are not constantly messing with options..
thanx for the update
moxxx68