- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ssh environment configuration
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2005 01:53 AM - last edited on 03-29-2013 12:17 AM by Cathy_xu
11-02-2005 01:53 AM - last edited on 03-29-2013 12:17 AM by Cathy_xu
ssh environment configuration
i need to launch ssh user@IP "something" a remote command but when i do so something is not executed because it's not part of current PATH or there's no environment variable set to help me for that. Actually by doing this remote thing user's profile is not loaded but some general profile.
Can you help me with this issue?
Thanks
Moved from HP-UX Technical Documentation to HP-UX > security
- Tags:
- ssh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2005 01:58 AM
11-02-2005 01:58 AM
Re: ssh environment configuration
You can add and adjust the environment
by setting values in $HOME/.ssh/environment.
This is read and loaded by ssh during startup.
Alternatively, and safer, run a script that
configures the environment and runs your command or use a fully qualified path like
/usr/local/bin/mycommand.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2005 02:01 AM
11-02-2005 02:01 AM
Re: ssh environment configuration
And later on detail what i need to set in there?
But what about the path it's importing anyway ? Where from does it take that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2005 02:14 AM
11-02-2005 02:14 AM
Re: ssh environment configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2005 02:16 AM
11-02-2005 02:16 AM
Re: ssh environment configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2005 02:28 AM
11-02-2005 02:28 AM
Re: ssh environment configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2005 02:29 AM
11-02-2005 02:29 AM