Sun is not able to ssh another machine of sun


 
Thread Tools Search this Thread
Operating Systems Solaris Sun is not able to ssh another machine of sun
# 1  
Old 03-16-2011
Sun is not able to ssh another machine of sun

My one Sun machine is not able to ssh another machine of Sun. Although I have configured the ssh successfully

( SunOS sunbox2 5.9 Generic_118558-34 sun4u sparc SUNW,Sun-Blade-2500 )

ERROR

bash-2.05# ssh sunbox2
/etc/ssh/ssh_config: line 34: Bad configuration option: PermitRootLogin
/etc/ssh/ssh_config: terminating, 1 bad configuration options

bash-2.05# ssh sunbox1
/etc/ssh/ssh_config: line 34: Bad configuration option: PermitRootLogin
/etc/ssh/ssh_config: terminating, 1 bad configuration options




sunbox1
Code:
bash-2.05#  cat /.ssh/authorized_keys2 
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEArjG/CP71Uh+V6NwOnyA9wZheyhnIKDo7tX57WxtZBFwfkhRQuPFyBQktRe6ApGcG0F/t7j69AIoJ+Jw/hmYCLHmErr+qqVUC2bTtIqXhV2UTUaYQVOVp4S8cgDA3X4ysG5gO76f4Md5q+TvdczkKSQDR9bJ5dJnVgpQ5f8CKJd8= root@sunbox1
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAzFyIpD//mOzZMlNAXF0o0KjSSt6yDwKeyoAqo1cKIZVNRpSTufyNlBUJldrOwRZS4h55qLiUNkvSZKhGtzrkGoOLtUdAhNdw7gtVNwjeHy2eKMEqnZBZICVqSIt8UIBK4Aw81lHZbSJ9ioymEtu7KLHsn6N3Pky0mqyDxAZNiUc= root@sunbox2




bash-2.05# cat /etc/ssh/ssh_config 
# Copyright (c) 2001 by Sun Microsystems, Inc.
# All rights reserved.
#
# ident "@(#)ssh_config 1.2     01/10/08 SMI"
#
# This file provides defaults for ssh(1).
# The values can be changed in per-user configuration files $HOME/.ssh/config
# or on the command line of ssh(1).

# Configuration data is parsed as follows:
#  1. command line options
#  2. user-specific file
#  3. system-wide file /etc/ssh/ssh_config
#
# Any configuration value is only changed the first time it is set.
# host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.

# Example (matches compiled in defaults):
#
# Host *
#   ForwardAgent no
#   ForwardX11 no
#   PubkeyAuthentication yes
#   PasswordAuthentication yes
#   FallBackToRsh no
#   UseRsh no
#   BatchMode no
#   CheckHostIP yes
#   StrictHostKeyChecking ask
#   EscapeChar~
  GSSAPIKeyExchange no
  GSSAPIAuthentication no
PermitRootLogin yes
bash-2.05#


Code:
sunbox2

bash-2.05# cat /.ssh/authorized_keys2 
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAzFyIpD//mOzZMlNAXF0o0KjSSt6yDwKeyoAqo1cKIZVNRpSTufyNlBUJldrOwRZS4h55qLiUNkvSZKhGtzrkGoOLtUdAhNdw7gtVNwjeHy2eKMEqnZBZICVqSIt8UIBK4Aw81lHZbSJ9ioymEtu7KLHsn6N3Pky0mqyDxAZNiUc= root@sunbox2
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEArjG/CP71Uh+V6NwOnyA9wZheyhnIKDo7tX57WxtZBFwfkhRQuPFyBQktRe6ApGcG0F/t7j69AIoJ+Jw/hmYCLHmErr+qqVUC2bTtIqXhV2UTUaYQVOVp4S8cgDA3X4ysG5gO76f4Md5q+TvdczkKSQDR9bJ5dJnVgpQ5f8CKJd8= root@sunbox1




bash-2.05# cat /etc/ssh/ssh_config 
# Copyright (c) 2001 by Sun Microsystems, Inc.
# All rights reserved.
#
# ident "@(#)ssh_config 1.2     01/10/08 SMI"
#
# This file provides defaults for ssh(1).
# The values can be changed in per-user configuration files $HOME/.ssh/config
# or on the command line of ssh(1).

# Configuration data is parsed as follows:
#  1. command line options
#  2. user-specific file
#  3. system-wide file /etc/ssh/ssh_config
#
# Any configuration value is only changed the first time it is set.
# host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.

# Example (matches compiled in defaults):
#
# Host *
#   ForwardAgent no
#   ForwardX11 no
#   PubkeyAuthentication yes
#   PasswordAuthentication yes
#   FallBackToRsh no
#   UseRsh no
#   BatchMode no
#   CheckHostIP yes
#   StrictHostKeyChecking ask
#   EscapeChar ~
  GSSAPIKeyExchange no
  GSSAPIAuthentication no
PermitRootLogin yes
bash-2.05#

---------- Post updated at 04:20 AM ---------- Previous update was at 02:38 AM ----------

My problem is resolved from the below link


OTN Discussion Forums : My one Sun machine is not able to ssh ...

Last edited by z_haseeb; 03-16-2011 at 05:15 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Start /SYS on SUN SPARC does not start machine [SUN SPARC ENTERPRISE T-5240]

-> start /SYS Are you sure you want to start /SYS (y/n)? y Starting /SYS ]-> show HOST /HOST Targets: bootmode diag domain Properties: autorestart = reset autorunonerror = false bootfailrecovery = poweroff ... (29 Replies)
Discussion started by: z_haseeb
29 Replies

2. UNIX for Beginners Questions & Answers

Cloned Sun OS 10 HD using replicator machine

Dear all, I have Sun Oracle 10 SPARC T4-1 machine with 4 units SAS2 300GB configure with 2 set Raid1. Is it possible to take out all 4 hd and cloned the 4 HD using disk clone/replicator machine with same HD size and model? After the cloned completed put back the new cloned HD at original... (4 Replies)
Discussion started by: ayyahma
4 Replies

3. Solaris

Old Sun machine documentation needed

Hi all. Last year, after registering on Sun support site, I downloaded for free all available documentation (in PDF) and support files of a couple of old Sun workstations (Ultra 5 and Ultra 10). Now I need the documentation and support files of other old Sun workstations (SPARCstation 20 and... (4 Replies)
Discussion started by: wisechip
4 Replies

4. Solaris

HP Unix & Sun Solaris on single machine

Is it possible to install 2 flavors of Unix on a single machine ? -HP Unix -SUN Solaris Please provide sufficient information to carry both of the above OS installation on single machine.Any guide/steps/document will do. (3 Replies)
Discussion started by: mahix
3 Replies

5. Solaris

How to configure IP in SUN Machine

Hi Experts, I am new for solaris, i am using Solaris10,can you anyone assist me how to configure IP in my machine. Thanks (4 Replies)
Discussion started by: daya.pandit
4 Replies

6. Solaris

Sun Machine Crashed

During system startup the following warnings are appear. Warning: /pci@8, 700000/scsi@6, 1 (g1m1) Connected command timeout for target 9.0 Warning: /pci@8, 700000/scsi@6, 1 (g1m1) Target 9 reducing sync, transfer rate Warning: /pci@8, 700000/scsi@6, 1... (5 Replies)
Discussion started by: tabreaz
5 Replies

7. Solaris

Installation os on sun machine

I had one sun ultra enterprise1 cpu. it's not giving any disply,which operating system it's support. How can install os on this CPU. (2 Replies)
Discussion started by: jagadeesh
2 Replies

8. Solaris

Sun machine boot up

Hi I am trying to bring up our Sun V100 machine remotely using hyper terminal. We have connected LOM port A to COM1 of our windows server and have lom promt available. Now when we type poweron it starts booting and goes through the booting process and stops at the following step... .... ... (7 Replies)
Discussion started by: chimpu
7 Replies

9. Solaris

how to change IP of my SUN solaris machine

Hello, I want to change the IP of my SUN solaris machine but i am not bale to find the right way. I tried the following steps: 1) edit /etc/inet/hosts and change IP address for host listed in /etc/hostname.le0 2) ifconfig le0 down 3) ifconfig le0 inet NEW_IP_ADDR netmask + broadcast + ... (5 Replies)
Discussion started by: er_aparna
5 Replies

10. UNIX for Dummies Questions & Answers

Sun Machine Rebooted

Hi , My Sun Machine Rebooted by itself 2 days back . Its running fine now , But i wanted to find out wat caused it to reboot... This is wat the var/adm/messages show . Kern.notice:- System booting after fatal error FATAL... Wat causes this message ... And wat tasks should i do to ensure it... (6 Replies)
Discussion started by: DPAI
6 Replies
Login or Register to Ask a Question