Solaris 8: root can't ssh to other systems.


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris 8: root can't ssh to other systems.
# 1  
Old 10-14-2011
Solaris 8: root can't ssh to other systems.

Hi, The issue is that root can not ssh to a Solaris 8 server:

Quote:
root# grep PermitRootLogin /etc/ssh2/sshd2_config
PermitRootLogin yes
# PermitRootLogin nopwd

root# grep CONSOLE /etc/default/login
# If CONSOLE is set, root can only login on that device.
# CONSOLE=/dev/console
Please help. Thank you in advance!
# 2  
Old 10-14-2011
In what way does it not work? Be specific.
# 3  
Old 10-14-2011
Permission denied.
# 4  
Old 10-14-2011
Is it ssh that's giving you permission denied or the local system? What do you see when you ssh -v ?
# 5  
Old 10-14-2011
Quote:
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /.ssh/identity
debug1: Trying private key: /.ssh/id_rsa
debug1: Trying private key: /.ssh/id_dsa
debug1: Next authentication method: password
root@remoteserver's password:
debug1: Authentications that can continue: publickey,password
Permission denied, please try again.
root@remoteserver's password:
debug1: Authentications that can continue: publickey,password
Permission denied, please try again.
root@remoteserver's password:
debug1: Authentications that can continue: publickey
debug1: No more authentication methods to try.
Permission denied (publickey).
debug1: Calling cleanup 0x8070be0(0x0)
# 6  
Old 10-14-2011
I've seen a similar problem. In our case it was a cipher problem, we needed to update OpenSSL on the Sol 8 to the same version as the Sol 10.

Would you mind pasting an ssh -vvv output?
# 7  
Old 10-14-2011
Also, check to make sure that the hostname / IP is not in authorized_keys on the other servers. You may need to delete an old key and add a new one. Does the Solaris 8 server have an authorized_keys file under /.ssh or /root/.ssh - check the keys.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Can a root role change the root password in Solaris 10?

i do not have root on a solairs 10 server , however i do have the root role, i was wondering if I can change the root password as a a role with the passwd command? I have not tried yet. and do i have to use the # chgkey -p afterwards? i need to patch is why i am asking. thanks (1 Reply)
Discussion started by: goya
1 Replies

2. UNIX for Beginners Questions & Answers

Allow AD service account SSH to Linux systems without 2FA

I have Windows AD server and all of the linux computers are joined to AD. Recently, 2FA has been activated, I wish to exclude some of the domain service accounts from 2FA # less /etc/pam_radius_acl.conf sshd:* # /etc/pam.d/sshd auth required pam_sepermit.so auth requisite... (0 Replies)
Discussion started by: davidpar007
0 Replies

3. 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

4. Solaris

ssh as root

Hi guys. I have two machines and I am using both as root. I need to know , is there a way by which I can ssh from Machine1 to Machine2 without giving the root password for Machine2. I actually need to write a script so that when its executed , it will ssh into another machine and run a... (4 Replies)
Discussion started by: Junaid Subhani
4 Replies

5. Shell Programming and Scripting

How ti check if passwordless ssh is enabled between two systems

I am writing a script which will execute commands on remote host only if they have a passwordless ssh setup. How do i check for that in my script (5 Replies)
Discussion started by: vickylife
5 Replies

6. UNIX for Dummies Questions & Answers

Printing systems in Solaris, AIX and HP-UX

Hi, Can anybody teach me the printing systems supported for Solaris 9, AIX and HP-UX 11i. Thanks in advance.:) (0 Replies)
Discussion started by: meeraramanathan
0 Replies

7. Solaris

Do I need to reboot Solaris 10 server for changes in /etc/systems ?

Hi, I have upgraded my Solaris 10 2005 to Solaris 10 2007. I am facing one bug, id: 6550904. To override this issue I have done following changes in /etc/systems: set max_uheap_lpsize = 0x2000 set max_ustack_lpsize = 0x2000 set max_privmap_lpsize = 0x2000 set max_shm_lpsize =... (6 Replies)
Discussion started by: neel.gurjar
6 Replies

8. Solaris

trouble auto connecting ssh 3.6.1 (Solaris 8) to ssh 3.0.1 (Solaris 6)

I am currently setting up rdiff-backup to use ssh to connect and remotely backup and retrieve data. I am doing so by creating rsa keys for each server and copying the relevant key to the /.ssh folder on the relevant server. All seems to work well when severs running solaris 8 with ssh 3.6.1 are... (6 Replies)
Discussion started by: falklandtim
6 Replies
Login or Register to Ask a Question