Operating System - HP-UX
1753486 Members
4158 Online
108794 Solutions
New Discussion юеВ

Re: ssh secure setup help needed

 
Roger Lawhorn
New Member

ssh secure setup help needed

I wish to achieve the following:

Telnet root login = blocked
Telnet user login = allowed
SCP/SSH root login with password = blocked
SCP/SSH root login passwordless = allowed

Which files and what settings do I use?
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: ssh secure setup help needed

Shalom,

http://www.hpux.ws/?p=19

Definitely will solve the second part.

I would solve the first part by disabling telnet in inetd.conf

There really is not a need for telnet any more.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Kenan Erdey
Honored Contributor

Re: ssh secure setup help needed

hi,

sometimes because of some applications telnet is still needed. you can achive first part create a file /etc/securetty and write console. this will allow root login only from console.

# echo console > /etc/securetty




Computers have lots of memory but no imagination
Roger Lawhorn
New Member

Re: ssh secure setup help needed

Thanks to both of you.
I think I have the answers I needed.
I am going ahead with the change.