This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: ssh and user env vars from control panel
- From: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 02 Mar 2011 14:44:17 -0500
- Subject: Re: ssh and user env vars from control panel
- References: <4D6DB62D.4050108@cpan.org>
- Reply-to: cygwin at cygwin dot com
On 3/1/2011 10:14 PM, Rafael Kitover wrote:
Hello list,
I generally set most of my environment variables in the System control
panel for my user, instead of in my .bashrc/.zshrc
I noticed that when I log in to Cygwin via ssh, these environment
variables are not available.
Would this be considered a misfeature?
No, it's considered a security feature. The environment for OpenSSH is
stripped to the basics so as to not let lots of information about the remote
system slip through to the client. If there's stuff you want in your OpenSSH
session that you're not getting now, a small script that you can run after
login is the prescribed solution.
--
Larry
_____________________________________________________________________
A: Yes.
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting annoying in email?
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple