nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Solaris UNIX Allow Root User To Login over SSH Session

This is a discussion on Solaris UNIX Allow Root User To Login over SSH Session within the Solaris/OpenSolaris forums, part of the UNIX operating systems category; hi, i need an help.i want to do ssh as root to another machine from my user account without password.I ...

Register free or login to your existing account and remove all advertisements.


Go Back   nixCraft Linux Forum > UNIX operating systems > Solaris/OpenSolaris

Linux answers from nixCraft.


Solaris/OpenSolaris Discuss all about the SUN Solairs/OpenSolaris. You are free to talk about any issues related to Solaris administration, networking, services and other stuff, share information or ask doubts.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-12-2008, 04:01 PM
Junior Member
User
 
Join Date: Jun 2008
OS: Solaris
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
nayan is on a distinguished road
Default Solaris UNIX Allow Root User To Login over SSH Session

hi,
i need an help.i want to do ssh as root to another machine from my user account without password.I can do it from my user account but not as root.

abc-----my user name
i want do ssh from ibm101 to ibm102 as root with password.Like---

[abc@ibm101~]$ ssh root@ibm102


Assume i have all the root passwords.
Reply With Quote
  #2 (permalink)  
Old 06-13-2008, 11:00 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,677
Thanks: 11
Thanked 240 Times in 180 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Make sure root is allowed to login over ssh. Open /etc/ssh/sshd_config and make sure PermitRootLogin is set to yes.


Once done restart ssh service and use sshkeys for login.
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
Reply

Tags
/etc/ssh/sshd_config , permitrootlogin , root user , solaris , ssh , unix


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Add normal user / FTP user usein NORMAL user(non-root) anilvrathod Shell scripting 0 12-07-2007 06:04 PM
Block Single User Login using root password sayan4u86 Networking, Firewalls and Security 0 09-28-2007 06:47 AM
Prevent root user from being able to log in via SSH service' swillet HP-UX 2 07-17-2007 07:33 PM
Allowing root login in RHEL 4 ricc Linux software 3 09-12-2006 03:28 PM
howto enable kde root login asim.mcp Linux software 1 09-07-2006 04:26 AM


All times are GMT +5.5. The time now is 01:46 PM.


Powered by vBulletin® Version 3.8.4 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2009 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38