Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

unable to telnet to the machine

Status
Not open for further replies.

vramesh

Technical User
Jun 8, 2003
7
US
Hi,

I'm unable to telnet to the sun machine and following is the error mesg:

# telnet <ipaddress>
Trying <ipaddress>...
Connected to hostname.xxx.xxx.com.
Escape character is '^]'.
telnetd: could not grant slave pty.
Connection closed by foreign host.

It would be helpful if anyone could suggest me to resolve this issue?

Regards,
VR
 
Hi,

See the following file in the server u r trying to connect to :- /etc/hosts.equiv file and see if the server from which u r trying is allowed to access this server.....
 
You may have to increase the Number of PTY on your system.You can do
that by adding a line in /etc/system file

set pts_count=128 (Default is 48).

You can check the pts on your system by giving command:

ls -1 /dev/pts* | wc -l

 
It is possible that the /dev/pts symbolic links to the /devices/pseudo files are missing or corrupt.

Running /usr/sbin/devlinks or performing a reconfiguration boot,using boot -r, will recreate the symbolic links.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top