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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SSH with Solaris 10 1

Status
Not open for further replies.

Mauric

Technical User
Feb 18, 2003
72
0
0
CH
Hello together

Please i have installed now the full version of Solaris 10 on me SUN box, after i have made the following cmd

# svcadm enable ssh
#
# svcadm restart ssh
#

the machine dont respond me if i try to connect from a other client to the Sun box "example Putty". please what i do wrong or witch book or letter i need to read it now ...

Thanks for any messages an see you soon :)



 
Do you have an entry for ssh in /ect/services? Like this:

ssh 22/tcp #Secure Shell

Is the process running?

ps -ef | grep sshd

root 10249 1 0 Feb 16 ? 0:00 /usr/lib/ssh/sshd

Are you trying to login as root? If so, depending on your /etc/default/login entry for CONSOLE, you might not be able to:

# If CONSOLE is set, root can only login on that device.
# Comment this line out to allow remote login by root.
#
CONSOLE=/dev/consoleCONSOLE=/dev/console

Hope this helps.





I want to be good, is that not enough?
 
If trying to use ssh with root on solaris 10, there's also another file that needs to be changed.

# Are root logins permitted using sshd.
# Note that sshd uses pam_authenticate(3PAM) so the root (or any other) user
# maybe denied access by a PAM module regardless of this setting.
# Valid options are yes, without-password, no.
PermitRootLogin no

"etc/ssh/sshd_config" line 109 of 160 --68%--


A great teacher, does not provide answers, but methods to teach others "How and where to find the answers"

bsh

35 years Bell, AT&T, Lucent, Avaya
Tier 3 for 25 years and counting
 
Hello Together and sorry for me late answer, after i check this settings helpfully its running now so thank you KenCunningham, and AvayaTier3, for your help.

greetings and thanks meny times
 
Good catch, AvayaTier3, have a star!

I want to be good, is that not enough?
 
Ken..
FYI
On Solaris 10 ,
login via ssh using root is disabled on install..

if the box is exposed to the Internet, this is considered
a good practice.

rk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top