Can't using Telnet or SSH service

Hi,How can I active telnet and SSH services to remote admin my server? I've just installed Solaris 10 onto my SunFire V100 but I can't telnet or ssh to it. I have to use the console port <img src="images/smiley_icons/icon_sad.gif" border=0 alt="Sad">Thanks.
[293 byte] By [] at [2007-11-25 22:50:50]
# 1
Are you sure the network is configured?What is the output of ifconfig -a ?Mark
at 2007-7-5 17:06:17 > top of Java-index,General,Sun Networking Services and Protocols...
# 2

Hey there,

To enable 'telnet' on Solaris 10 run the following command...

svcadm enable network/telnet

To enable 'ssh' on Solaris 10 run the following commands...

/lib/svc/method/sshd -c

svcadm enable network/ssh

First command created creates the necessary key pair for ssh, the second enables the ssh service.

Hope this helps,

Mick.

at 2007-7-5 17:06:17 > top of Java-index,General,Sun Networking Services and Protocols...
# 3
Hi,by the way: My solaris 10 (x86) had appears to have telnet activated by default. Is there some reason or is it safe to switch it off?Cheers, Peter
niessepe at 2007-7-5 17:06:17 > top of Java-index,General,Sun Networking Services and Protocols...
# 4
Keep in mind that you cannot directly logon as root, could that be the reason why you think its not active right now ?
LionO at 2007-7-5 17:06:17 > top of Java-index,General,Sun Networking Services and Protocols...
# 5
Hi, Even after using this command (svcadm enable network/telnet) i couldn't telnet to my solaris 10 machine. It says "Not on System Console". Can any one help me.Thanks in advance,Pavan kumar.
pavankumarasr at 2007-7-5 17:06:17 > top of Java-index,General,Sun Networking Services and Protocols...
# 6
That means you're trying to log in as root, don't do that. Log in as a normal user and su to root.
ifinzen at 2007-7-5 17:06:17 > top of Java-index,General,Sun Networking Services and Protocols...
# 7
There should be a way to telnet using root. Is this possible, if so what are the changes that should be made..thanks,pavan
pavankumarasr at 2007-7-5 17:06:17 > top of Java-index,General,Sun Networking Services and Protocols...
# 8

Have to agree with ifinzen that you really don't want to do that unless you're in a completely secure environment.

If you are, however, edit the file

/etc/default/login

and comment out the CONSOLE line so that it reads

# If CONSOLE is set, root can only login on that device.

# Comment this line out to allow remote login by root.

#

#CONSOLE=/dev/console

pgowler at 2007-7-5 17:06:17 > top of Java-index,General,Sun Networking Services and Protocols...