Telnet/Rsh | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Telnet/Rsh

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 07-30-2001
DPAI's Avatar
DPAI DPAI is offline
Registered User
 
Join Date: Jul 2001
Last Activity: 23 June 2005, 11:36 AM EDT
Posts: 112
Thanks: 0
Thanked 0 Times in 0 Posts
Telnet/Rsh

I am having a strange problem...
I am trying to telnet into my Solaris m/c But it gives "Connection Closed "
Same with rlogin and rsh
But I can Login into ftp or do a finger to that m/c.
I have no hosts.allow or hosts.deny entries .
And also have one hostname in my local m/c .
Can anybody help me out with this.
Thanx
Sponsored Links
    #2  
Old 07-30-2001
yellowfish yellowfish is offline
Registered User
 
Join Date: Jul 2001
Last Activity: 6 May 2002, 2:09 PM EDT
Location: California
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
you may want to check /etc/inetd.conf first.
are those services (telent, login...) available?

Sponsored Links
    #3  
Old 07-31-2001
DPAI's Avatar
DPAI DPAI is offline
Registered User
 
Join Date: Jul 2001
Last Activity: 23 June 2005, 11:36 AM EDT
Posts: 112
Thanks: 0
Thanked 0 Times in 0 Posts
I think so its available . I mean its not commented in the inetd.conf file.
This is wat i get
% telnet rms
Trying 141.221.66.45...
Connected to rms.
Escape character is '^]'.


SunOS 5.8

Connection closed by foreign host

    #4  
Old 07-31-2001
yellowfish yellowfish is offline
Registered User
 
Join Date: Jul 2001
Last Activity: 6 May 2002, 2:09 PM EDT
Location: California
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Looks like you or your host not allow to telnet that machine

1. check your loginname is on local password file if this machine is using local passwd. Or NIS passowrd file...etc.

2. does any user.allow or user.deny files on /etc?

--yellowfish

Sponsored Links
    #5  
Old 08-01-2001
Neo's Avatar
Neo Neo is offline Forum Staff  
Administrator
 
Join Date: Sep 2000
Last Activity: 31 October 2014, 9:59 AM EDT
Location: Asia pacific region
Posts: 13,024
Thanks: 522
Thanked 878 Times in 403 Posts
Yes, you can see that inetd.conf is OK by your post.

The problem could also be that the IP address does not resolve to the host name and your machine is configured to disallow telnet from clients without a proper DNS IP to name entry.

Just a thought....

Also, you might check to see if your telnetd server is running identd and if so, in what configuration.....
Sponsored Links
    #6  
Old 08-01-2001
DPAI's Avatar
DPAI DPAI is offline
Registered User
 
Join Date: Jul 2001
Last Activity: 23 June 2005, 11:36 AM EDT
Posts: 112
Thanks: 0
Thanked 0 Times in 0 Posts
Neo ,
I am not able to understand wat u want to say in ur last sentence
The user is local with no .allow or .deny entries in it.

And also giving telnet connects to the m/c .But just b4 the login prompt it says "Connection Closed".So i do not think there is a name resolution prob here

Sponsored Links
    #7  
Old 08-01-2001
Holistic Holistic is offline
Registered User
 
Join Date: Jul 2001
Last Activity: 20 February 2003, 4:48 PM EST
Location: dc
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
are you trying to login as ROOT?
or
are you trying to login as a nonprivilaged user?

if as root, then,
2 things...
1) look in the remote systems /etc/default/login
you should see CONSOLE=/dev/console place a # sign before this line....this line will prevent root to login remotely.

if you want rlogin to work then you must have a .rhosts file with the name of the other systems in your .rhosts file....(this should be on both systems invovled.)
this is not recommended bc you can rlogin without passwd.

i hope this helps
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Automatically login in the telnet from present telnet Prateek UNIX for Dummies Questions & Answers 2 07-05-2011 10:31 AM
How to come out from telnet ram1729 Shell Programming and Scripting 5 06-24-2009 08:01 PM
telnet and cut melanie_pfefer AIX 1 03-27-2009 11:33 AM
Webpage to Telnet via Perl and Expect: Telnet problem? jondo Shell Programming and Scripting 1 07-22-2008 12:35 AM
telnet eykyn17 AIX 3 02-16-2006 12:17 PM



All times are GMT -4. The time now is 11:43 AM.