Should I configure SSH somehow or what would fix this?
Thanks,
Mika
> Now when I try to log in via ssh (from linux or Windows, using putty
> ssh) my password fails. The same userid/pass works fine locally. Scp
> works fine though.
You are not trying to access the system remotely as root, are you?
Well yes, I am. Is that a problem?
Yes it is, if you consider the security of your systems of any importance.
Create a user account, log in with that account, then if required, su to
root.
# useradd -c 'M J Stenberg' -d /export/home/mica78 -m -g 14 -s /usr/bin/ksh mica78
# passwd mica78
you can also edit (NOT RECOMMENDED) your sshd_config file to allow
root access. again, this isn't recommended. do like the last guy said
and create yourself a user account and you should be good to go. also,
may want to look at the config to make sure you are using the proper
protocol and what not. oh yeah, and don't forget to start sshd, too!
vi /etc/ssh/sshd_config
and add PermitRootLogin yes
Then restart ssh
svcadm restart ssh
:)
> vi /etc/ssh/sshd_config
...
> :)
:), my ass! It's not enough that there are already thousands of Unix
systems on the botnets; you want to add one more.
If the OP is really dumb enough to do this then at at least protect your
system by configuring /etc/hosts.allow to permit your trusted networks
access to the Solaris host and DENY access from the rest of the universe.
The OP asked a question, to which I gave an answer. If you don't like
it "bite me".
It's not my job to sit here and discuss semantics with someone else
who doesn't like the advice.
:)
> The OP asked a question, to which I gave an answer. If you don't like
> it "bite me".
Right, but the least you could do is qualify your advice with the appropriate
security warnings. The OP is presumably not a pro so is unlikely to consider
the security reprocussions of remote root logins.
> It's not my job to sit here and discuss semantics with someone else
> who doesn't like the advice.
Perhaps. But as (presumably) prefessional sysadmins, I think explicite
security warnings are in order. After all, I assume its not your job to
sit here and post to Usenet either. :-)
--
Rich Teer, SCSA, SCNA, SCSECA, OGB member
CEO,
My Online Home Inventory
Voice: +1 (250) 979-1638
URLs: http://www.rite-group.com/rich
http://www.myonlinehomeinventory.com