How to configure ssh for root user....???


 
Thread Tools Search this Thread
Operating Systems Solaris How to configure ssh for root user....???
# 1  
Old 02-07-2007
How to configure ssh for root user....???

Hi Friends,

I would like to configure ssh for root user.

Note : I am able to use the ssh for other user.

Can someone suggest me what needs to be done....???

Thanks & Regards,
jumadhiya.

Last edited by jumadhiya; 02-08-2007 at 04:58 AM..
# 2  
Old 02-12-2007
hello,

if you look at the sshd.conf - you will find it how

cheers...
# 3  
Old 02-12-2007
In the /etc/ssh/sshd_config (atleast on my system), there should be an entry for this: PermitRootLogin. Change this from no to yes and you have your root login. Suggest not doing this though.
# 4  
Old 02-13-2007
Quote:
Originally Posted by blowtorch
Change this from no to yes and you have your root login.
After restarting the ssh server, of course. Smilie
# 5  
Old 02-13-2007
Code:
strings /usr/lib/ssh/sshd|grep restart

so the command for restart should be "/usr/lib/ssh/sshd restart" or at least on my t1000 box.
# 6  
Old 04-30-2009
restart SSH service on Solaris 10

Quote:
Originally Posted by sysgate
Code:
strings /usr/lib/ssh/sshd|grep restart

so the command for restart should be "/usr/lib/ssh/sshd restart" or at least on my t1000 box.

On Solaris 10 I used the following to restart the service:
Code:
svcadm restart ssh

# 7  
Old 04-30-2009
It NOT Recommended to allow root to ssh
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Limit root user of SSH logins

Hi team, I tried to modify the /etc/security/limits.conf file to limit the root user for more one login. I added the line in limits.conf file like: @root hard maxlogins 1 I also tried to modify /etc/ssh/sshd_config to limit the root userlogin by adding this: ... (10 Replies)
Discussion started by: leo_ultra_leo
10 Replies

2. SuSE

Auditors want more security with root to root access via ssh keys

I access over 100 SUSE SLES servers as root from my admin server, via ssh sessions using ssh keys, so I don't have to enter a password. My SUSE Admin server is setup in the following manner: 1) Remote root access is turned off in the sshd_config file. 2) I am the only user of this admin... (6 Replies)
Discussion started by: dvbell
6 Replies

3. Shell Programming and Scripting

How to give root access to non root user?

Currently in my system Red Hat is installed. And Many user connect to my machine via SSH Techia Terminal. I want to give some users a root level access. Can anyone please help me how to make it possible. I too searched on the Google but didn't find the correct way Regards ADI (4 Replies)
Discussion started by: adisky123
4 Replies

4. UNIX for Dummies Questions & Answers

Sudo to delegate permission from non-root user to another non-root user

I've been through many threads before i decide to create a separate thread. I can't really find the solution to my (simple) problem. Here's what I'm trying to achieve: As "canar" user I want to run a command, let's say "/opt/ocaml/bin/ocaml" as "duck" user. The only to achieve this is to... (1 Reply)
Discussion started by: canar
1 Replies

5. Shell Programming and Scripting

Cron job initiating ssh AND sudo (from user, not root)

I've been bashing my head on the desk for 2 days trying to get this to work, but I've had no luck. I'll try to be as clear as possible in my explanation without dragging out the details. I'm trying to set up a cron job for user "john" which runs a script. This script initiates an ssh connection to... (5 Replies)
Discussion started by: eh3civic
5 Replies

6. AIX

passwordless ssh for non-root user???

hi all I have a problem to set up the password ssh login for a non-root user. what I want to do is that non-root user in host A logs into host B without password prompted. what I did listed as the following steps. 1. genarate a pair of keys from host A. ssy-keygen -t rsa -N "" -f... (9 Replies)
Discussion started by: rs6000er
9 Replies

7. UNIX for Advanced & Expert Users

How to allow particular user only to login as a root using "ssh" ?

Q1 I want to allow particular user only to login into root using ssh. I have set PermitRootLogin no for security purpose but I want to allow some of the users to login as a root using ssh how to do this? I have tried with Allowusers user1 user2 its working for only the user1 and... (3 Replies)
Discussion started by: ungalnanban
3 Replies

8. AIX

How to configure SSH in AIX?

Hi I want to configure SSH in AIX, what are the command and step... Please let me know....... (1 Reply)
Discussion started by: dearsumon
1 Replies

9. UNIX for Dummies Questions & Answers

How to allow access to some commands having root privleges to be run bu non root user

hi i am new to unix and i have abig task. i have to \run particular commands having root privileges from a non root user. i know sudo is one of the way but i need sum other approach kindly help Thanks (5 Replies)
Discussion started by: suryashikha
5 Replies

10. UNIX for Advanced & Expert Users

configure ssh

Hi, I'm trying to configure ssh for an application Unix account to remotely execute a command without a password but I've been getting a 'No xauth' warning message each time a remote command is executed. $ exec /usr/bin/ssh-agent $SHELL $ /usr/bin/ssh-add Enter passphrase for... (4 Replies)
Discussion started by: Geraldine
4 Replies
Login or Register to Ask a Question