- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- remsh "login Incorrect "
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
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
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
тАО10-14-2004 09:52 AM
тАО10-14-2004 09:52 AM
remsh "login Incorrect "
when we are giving the full option it is not taking
uamtv008 $ remsh express001 -l ssur -n hpp_get_sxdata.prg
remshd: Login incorrect.
But when i m giving
remsh express001 -l ssur
then it will ask me the password and after entering the password i will able to access the server
so What is wrong on that particular command
uamtv008 $ remsh express001 -l ssur -n hpp_get_sxdata.prg
remshd: Login incorrect.
Where i have to check ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2004 09:57 AM
тАО10-14-2004 09:57 AM
Re: remsh "login Incorrect "
when you run remsh system should not prompt you for the password.
.rhosts file should be configured to run remsh correctly.
You can use ftp instead.
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2004 10:00 AM
тАО10-14-2004 10:00 AM
Re: remsh "login Incorrect "
In the first case you are asking remsh to run a command on the remote server. So, it will check for .rhosts authenticity and will fail if it is not configured.
In the second case where you are not specifying a command it will actually act like rlogin.
Look at man page for more information.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2004 10:00 AM
тАО10-14-2004 10:00 AM
Re: remsh "login Incorrect "
If you dont have a .rhosts or /etc/hosts.equiv file configured in the remote system, remsh
remsh
You need to configure .rhosts file in the remote system
In the remote host
# su - ssur
$ vi .rhosts
$
Now try remsh from your host.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2004 10:09 AM
тАО10-14-2004 10:09 AM
Re: remsh "login Incorrect "
uamtv008 exposx
But is is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2004 10:13 AM
тАО10-14-2004 10:13 AM
Re: remsh "login Incorrect "
shell stream tcp nowait root /usr/lbin/remshd remshd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2004 10:15 AM
тАО10-14-2004 10:15 AM
Re: remsh "login Incorrect "
When i m giving remsh express001 -l ssur then it is asking me the password and i m able to login .
But when i m giving -n option and using command then it is giving the "Login In correct"
Although on the remote hosts "express001" it has the entry of rhosts file
uamtv008 exposx
I wonder WHY !!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2004 10:15 AM
тАО10-14-2004 10:15 AM
Re: remsh "login Incorrect "
On 'express001', make sure uamtv008 is properly getting resolved. To verify it run 'inetd' with connection logging and observe syslog.log while connecting to expresss001 from uamtv008.
#inetd -l
#tail -f /var/adm/syslog/syslog.log
Take another window and logon to umatv008.
uamtv008$remsh express001 -l ssur -n hpp_get_sxdata.prg
Observe the hostname that is appearing in the syslog.log of express001 and add it to .rhosts file.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2004 10:21 AM
тАО10-14-2004 10:21 AM
Re: remsh "login Incorrect "
shell stream tcp nowait root /usr/lbin/remshd remshd
and on my server
shell stream tcp nowait root /usr/lbin/remshd remshd
No # before that
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2004 10:26 AM
тАО10-14-2004 10:26 AM
Re: remsh "login Incorrect "
From your remote host
# getip uamtv008
# ping uamtv008
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2004 10:28 AM
тАО10-14-2004 10:28 AM
Re: remsh "login Incorrect "
data
Oct 14 18:13:16 uapkb086 ftpd[266]: FTP session closed
Oct 14 18:13:24 uapkb086 : su : + ttyp1 root-ssur
Oct 14 18:18:29 uapkb086 ftpd[2113]: FTP LOGIN FROM 3.77.76.126 [3.77.76.126], e
xpodata
Oct 14 18:18:30 uapkb086 ftpd[2113]: FTP session closed
Oct 14 18:20:15 uapkb086 ftpd[2799]: FTP LOGIN FROM 3.77.125.160 [3.77.125.160],
expodata
Oct 14 18:20:16 uapkb086 ftpd[2799]: FTP session closed
Oct 14 18:23:51 uapkb086 : su : + ttyp1 root-exposx
Oct 14 18:24:52 uapkb086 ftpd[3782]: FTP LOGIN FROM 3.77.125.5 [3.77.125.5], exp
odata
Oct 14 18:24:53 uapkb086 ftpd[3782]: FTP session closed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2004 10:32 AM
тАО10-14-2004 10:32 AM
Re: remsh "login Incorrect "
├в ┬е$ getip uamtv008
3.77.79.197
also able to pin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2004 10:40 AM
тАО10-14-2004 10:40 AM
Re: remsh "login Incorrect "
While you are doing 'tail -f syslog.log', try to telnet or rlogin to it from umatv008 and see how the host appears in syslog.log.
Add that to your .rhosts and it should work.
To turn off connection logging, run 'inetd -l' again and watch for the message 'connection logging disabled' in syslog.log.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2004 02:17 AM
тАО10-15-2004 02:17 AM
Re: remsh "login Incorrect "
Is there any way to do the thing which remsh service is executing ...
===========================
remsh express001<
=============================
I have tried rlogin but I am not able to format the syntax like that .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2004 02:24 AM
тАО10-15-2004 02:24 AM
Re: remsh "login Incorrect "
I will try again.
1. Enable connection logging on express001. 'inetd -l'. Watch for the entry 'connection logging enabled' in your /var/adm/syslog/syslog.log file for conformation. Do a 'tail -f /var/adm/syslog/syslog.log'
2. Now connect to express001 from uamtv008 through either telnet or rlogin.
uamtv008$rlogin express001
3. Watch your 'tail -f ' session on express001. You should see a line like "connection from
4. See if that 'something' is uamtv008. If not that explains why your remsh is not working. Add that 'something' to your .rhosts file and then try your original 'remsh' command.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2004 07:49 AM
тАО10-15-2004 07:49 AM
Re: remsh "login Incorrect "
+ ssur
and then try the remsh command
and see if that works. Let me ask you is the user ssur is having a common home directory on both these workstations uamtv008 and express001? Do you use NIS or local password authentication? If ssur on these two machines is different then you would have to place the "+ ssur" in the homedirectory of ssur on expres001.
Goodluck
Govind
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2004 01:31 AM
тАО10-18-2004 01:31 AM
Re: remsh "login Incorrect "
You must also make sure the host you are comming from is resolvable from the host you are going to. In other words, express001 must be able to resolve the hostname of uamtv008. It can do this either through the local /etc/hosts file, NIS or DNS, depending on your /etc/nsswitch.conf file. Otherwise, even if you have .rhosts or /etc/hosts.equiv set up correctly, express001 still cannot resolve uamtv008.
Regards,
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2004 01:47 AM
тАО10-18-2004 01:47 AM