HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: remsh
Operating System - HP-UX
1833059
Members
2438
Online
110049
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-11-2004 06:49 AM
11-11-2004 06:49 AM
remsh
where is the environment variables for remsh stored? i want to remsh over to another server and have the correct terminal type for the output.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2004 06:58 AM
11-11-2004 06:58 AM
Re: remsh
Hi,
They aren't. The 'remsh' command will execute a command on a remote system and return the standard output, but it is not designed for a terminal interface. Here is a snippet from the 'remsh' man page:
remsh uses the default remote login shell with the -c option to
execute the remote command. If the default remote shell is csh, csh
sources the remote .cshrc file before the command. remsh cannot be
used to run commands that require a terminal interface (such as vi) or
commands that read their standard error (such as more). In such
cases, use rlogin or telnet instead (see rlogin(1) and telnet(1)).
If you don't specify a command for 'remsh', it will login to the remote server just like using 'rlogin'. For 'rlogin', it takes the terminal type on the local system and uses that as the default on the remote system. Your .profile will normally test the $TERM variable and try to set it if it is blank, but since 'rlogin' brings one with it the .profile probably skips that and uses the default value from the first system.
JP
They aren't. The 'remsh' command will execute a command on a remote system and return the standard output, but it is not designed for a terminal interface. Here is a snippet from the 'remsh' man page:
remsh uses the default remote login shell with the -c option to
execute the remote command. If the default remote shell is csh, csh
sources the remote .cshrc file before the command. remsh cannot be
used to run commands that require a terminal interface (such as vi) or
commands that read their standard error (such as more). In such
cases, use rlogin or telnet instead (see rlogin(1) and telnet(1)).
If you don't specify a command for 'remsh', it will login to the remote server just like using 'rlogin'. For 'rlogin', it takes the terminal type on the local system and uses that as the default on the remote system. Your .profile will normally test the $TERM variable and try to set it if it is blank, but since 'rlogin' brings one with it the .profile probably skips that and uses the default value from the first system.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2004 06:59 AM
11-11-2004 06:59 AM
Re: remsh
Remsh goes through .profile of the user. You should be setting the term type in .profile.
A better way would be doing a tttype -s in .profile and set it.
Anil
A better way would be doing a tttype -s in .profile and set it.
Anil
There is no substitute to HARDWORK
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP