Telnet from windows to Solaris
I was trying to telnet from my windows PC (OS win2003) to Solrais box for my friend (Intel Solaris V10) , by using putty ssh.
Both PCs in same LAN, I could not. 1- Do I need to enable telent on solaris box ? 2- IF access Solaris box (not through telent) , but normal access, Can I telent my self through this command: Telent 127.0.0.1 ? It did not work with me. |
Code:
svcs -l telnet Code:
svcadm enable telnet |
Thanks again
1- Do you think this command will work for both Solaris and Linux ? 2- Quote:
|
1) no, this is Solaris 10 specific (as of today) and part of the new Service Management Facility.
2) sure, you can telnet localhost when the service is enabled. |
Telnet
Hi.
Telnet service may not be enabled on your solaris box. go into the /etc/inet directory and view the inetd.conf. Within this file locate the line that begins with: telnet stream tcp6 nowait root /usr/sbin/in.telnetd in.telnetd Make sure that this is not commented out....If it is uncommet this line, and run kill -HUP on the inetd process for the inetd daemon to re-read the configuration file. Telnet facility should now work for you. |
Hmm, the good old inetd.conf is obsoleted and no more used starting from Solaris 10, consequently neither is running an inetd process.
|
"svcs -l telnet " the output was:
fmri svc:/network/telnet:default name Telnet server enabled true########################### That mean it is enabled,,,,Am I right? state online next_state none state_time Tue May 24 21:00:10 2005 restarter svc:/network/inetd:default I tried to ping my self the out put was: # telnet 127.0.0.1 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. login: root Password: Not on system console Connection to 127.0.0.1 closed by foreign host. I tried to telnet from windows client via putty I received this message: login as: root Using keyboard-interactive authentication Password: (I entered password for root) Access denied |
Login as root with telnet is wrong !
If you insist doing it, edit /etc/default/login and comment out the line CONSOLE=/dev/console |
Quote:
|
Quote:
Normal users will log in. |
Quote:
|
I'm only saying the "Not on system console" is only related to root login attempts.
Regular users may or may not be able to login for any reason, but will not get that specific message. |
Hi,
I agree with "jlliagre" May be you should try to install a more secure service like ssh. Last error just apply when you try to connect as root user through Telnet. Putty SSH by default try to connect to Port 22, this because SSH port. Maybe this is your problem, beside the /etc/default/login file. The port for Telnet must be 23. Good luck! |
Telnet forbidden
Hi,
On Solaris 8, how can I deny a user to connect with telnet. Thanks in advance |
A way to do it would be to write a custom pam module that allow/deny access depending on rules, but the effort would be in my opinion worthless, you'd rather deny all users to connect with telnet by disabling the telnet service, and switch to ssh.
|
All times are GMT -5. The time now is 03:20 AM. |