Remote ssh login as root


 
Thread Tools Search this Thread
Operating Systems Solaris Remote ssh login as root
# 8  
Old 07-23-2008
Restart sshd on Solaris 10

Hi Discussion in this thread was very useful for me i was able to solve the problem i was facing with Solaris 10 and SSH (remote root login). But this think this thread did not contain how to restart sshd on Solaris....i did search for that ....but i found the answer Smilie
wanted to post that answer..so that it would be helpful to future viewers Smilie

To restart sshd on sorlaris 10 execute the command:

/lib/svc/method/sshd restart
# 9  
Old 07-24-2008
Restart sshd on Solaris 10

@BG_JrAdmin
Use svcadm to restart services, in this case it is:
svcadm disable ssh or svcadm enable ssh

Not sure if you use ssh or sshd, anyway this thing works as i have personally used this. Also for telnet you can use svcadm enable telnet....Remember that root cannot login using telnet by default coz of plain text authentication, so use a normal user during telnet then su to root user. Smilie
# 10  
Old 07-24-2008
At times you know.. svcadm disable/enable ssh will still show that the service is offline. Even the inetd you wont be able to restart. In this type of situation, what will you do?
# 11  
Old 07-24-2008
Restart sshd on Solaris 10

@incredible
I have not encountered such situation...even if i come across...i will post it here...u guys are here right....SmilieSmilie
# 12  
Old 07-24-2008
Yes bro, I think you won't believe me.. I have experienced that ssh not starting stubbornly it in Solaris 9 and Solaris 10 too..
# 13  
Old 07-24-2008
i've seen plenty of what incredible talks about with ssh (and other services as well... mostly manifest written by me Smilie ).

you can always check /var/svc/manifest/*/<script.xml> and see where the start script is such as /lib/svc/method/<script> and try from there. or go even further to the main executable to start/stop/refresh the service.
# 14  
Old 07-25-2008
Restart sshd on Solaris 10

@incredible
I believe you dude Smilie....coz there are many things I have still not encountered...my tryst with solaris started this march, before that I worked in unix and linux only...So I am keeping my options open...Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Commands not working with ssh remote login

Hi Friends, I am unable to run our application commands on remote server using ssh (passwordless login enabled). But the same command running with telent perl script. please suggest. SSH: C:/bin>ssh -l monitor tl04cp01 exec "/home/monitor/123" /home/monitor/123: viewlog: not found. ... (7 Replies)
Discussion started by: suresh3566
7 Replies

2. AIX

ssh failed to login in remote connection

i am in node acbs01b and i use the root@fcbs01b to login and i have the below message . ssh root@fcbs01b @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT... (6 Replies)
Discussion started by: thecobra151
6 Replies

3. UNIX for Dummies Questions & Answers

How to disable root login (Not over SSH)?

I have already disabled root login over the ssh by modifying /etc/ssh/sshd_config. But how would i disable root login on a server itself. We have implemented LDAP in our environment and our security guide states that root login must be obtained by first logging into the host using his/her own... (2 Replies)
Discussion started by: pinga123
2 Replies

4. Solaris

how to login with ssh to remote system with out applying the remote root/usr password

how to login with ssh to remote system with out applying the remote root/user password with rlogin we can ujse .rhosts file but with ssh howits possible plz guide (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies

5. Linux

ssh - disable direct root login

Hi Guys.... I am a newbie to unix. I have a requirement. I have a server. I have to configure ssh to disable direct root login and then add a user with sudo access to this server.Then change the ssh port to 22315 and the server should permit the ssh only from my local machine ip.I also have to... (1 Reply)
Discussion started by: mahesh_raghu
1 Replies

6. UNIX for Dummies Questions & Answers

doubt in ssh command for remote login

Hello sir, Im using ubuntu distro. We all know that ssh is used for password less entry.So, I have the public key and the IP address and the username thats it. Now to login it to the system either I should have password or a private key.Now I have the blacklist of private/public keys. But I dont... (1 Reply)
Discussion started by: nsharath
1 Replies

7. Solaris

Deny root remote login help

I'm attempting to deny a user's ability to login as root through any remote means - ie telnet or ssh. I've read most of the threads that I can find on this site and I've looked at BigAdmin on Sun's site. I have done what has been suggested here and on BigAdmin which is to make sure that the line... (5 Replies)
Discussion started by: gonzotonka
5 Replies

8. Shell Programming and Scripting

Remote login through ssh

Hi , I need to login to remotemachines through ssh and move some logfiles to my localmachine. My servername,username and password will be store in the .profile file. can any one please help me in this? This will be a cronjob so Password can't be enter at run time. Thanks in advance Subin (5 Replies)
Discussion started by: subin_bala
5 Replies

9. AIX

Problems with disabling remote root login

Hello! I'm going through security checklist for AIX 5.3 and i just can't disable remote login for root through ssh. What i did: - in /etc/security/user i added a line: rlogin = false which works fine when i try to login through telnet - after installation of openSSH i edited... (3 Replies)
Discussion started by: veccinho
3 Replies

10. UNIX for Advanced & Expert Users

SSH remote login problem

Hi: I have been given the responsibility of administering AIX 3.1 machine in my lab recently. And, I am having trouble logging on to the machine using SSH through windous systems. Thus, now no one is able to access it!! The following error message is displayed when I tried to login: "The... (3 Replies)
Discussion started by: pdepa
3 Replies
Login or Register to Ask a Question