Solaris 10: Cannot ssh into machine- authentication issues


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Solaris 10: Cannot ssh into machine- authentication issues
# 1  
Old 07-16-2009
Solaris 10: Cannot ssh into machine- authentication issues

Greetings!
I just managed to install Solaris 10 on a Sparc based machine. However, there might be a problem with the way ssh is configured.
I CAN ssh from the machine into another on the network (same subnet, as root), but then the newly installed machine CANNOT seem to accept incoming ssh connections properly(directed at root).
When I try to connect to this one, I get stalled right at the authentication- it keeps asking me for the password, unable to authenticate the root properly. Here is what I tried so far-

svcs network/ssh
STATE STIME FMRI
online ..... svc:/network/ssh:default

svscs -d network/ssh :default
STATE STIME FMRI
online svc:/network/loopback:default
online svc:/network/physical:default
online svc:/system/cryptosvc:default
online svc:/system/filesystem/local:default
online svc:/system/utmp:default
online svc:/system/filesysytem/autofs:default

I changed the root password multiple times, changed permissions of the root directory to 755, without any change to the situation.

I'd really appreciate some help at this point.

Thank you in advance,
Ag

Last edited by agummad; 07-16-2009 at 04:44 PM..
# 2  
Old 07-16-2009
SSH is normally configured to not allow the root account to login via SSH, check that /etc/ssh/sshd_config has a line:
PermitRootLogin yes

If it says no then you will need to change it to eys and then kill -1 the root sshd process to make it pick up the configuration change.

Note it is not recommended that you leave PermitRootLogin left set to yes.
# 3  
Old 07-16-2009
Thank you! I'll go though the security issues of the said config..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 11 ssh on machine with multiple Ethernet ports

I have a server with 6 Ethernet ports. 4 are the the motherboard based 1 GBE ports and 2 are 10 GBE ports on NICs. I have set these all up with static IP addresses and use the standard /etc/nsswitch.files. My IP addresses are net0 192.168.1.82 net1 192.168.2.82 and so on till net5... (4 Replies)
Discussion started by: ashlaw
4 Replies

2. Red Hat

iptables applied in local machine, can't ssh remote machine after chain changed to DROP

I want to SSH to 192.168.1.15 Server from my machine, my ip was 192.168.1.99 Source Destination was UP, with IP 192.168.1.15. This is LAN Network there are 30 Machine's Connected to the network and working fine, I'm Playing around the local machine's because I need to apply the same rules in... (2 Replies)
Discussion started by: babinlonston
2 Replies

3. Red Hat

NTP Authentication Issues: Help Please!

Hello everyone, I've been trying to set up NTP authentication between a server and a workstation. Both point to the same NTP server which is on a different physical box with its own IP address. I followed the steps below but I get the following result. How can I get this working? Expected... (0 Replies)
Discussion started by: rchaud10
0 Replies

4. Solaris

Solaris ssh client hangs when connecting to another Solaris machine

Got a strange problem. I have 4 Solaris servers all configured the same, Solaris 10 x86 update 10. When I try to ssh from one Solaris 10 server to another server ssh hangs. I have an identical server and when I try this everything works fine. The weird thing is if I am root on the server... (1 Reply)
Discussion started by: ccj4467
1 Replies

5. Solaris

Solaris 8 ssh public key authentication issue - Server refused our key

Hi, I've used the following way to set ssh public key authentication and it is working fine on Solaris 10, RedHat Linux and SuSE Linux servers without any problem. But I got error 'Server refused our key' on Solaris 8 system. Solaris 8 uses SSH2 too. Why? Please help. Thanks. ... (1 Reply)
Discussion started by: aixlover
1 Replies

6. Shell Programming and Scripting

ssh into another machine without authentication

If another machine has the same account how to ssh into that machine as the same user without re-typing password? Thanks (2 Replies)
Discussion started by: stevensw
2 Replies

7. Solaris

SSH and PAM authentication issues on Solaris 10

This is a zone running Solaris 10u8 on a 6320 blade. The global zone is also running 10u8. One my users is attempting to change his password and getting a following screen: $ ssh remotesys Password: Warning: Your password has expired, please change it now. New Password: Re-enter new... (1 Reply)
Discussion started by: bluescreen
1 Replies

8. Solaris

Unable to login using ssh,telnet onto my solaris machine with solaris 10 installed

Hi, I am unable to login into my terminal hosting Solaris 10 and get the below error message "Server refused to allocate pty ld.so.1: sh: fatal: libc.so.1: open failed: No such file or directory " Is there anyways i can get into my machine and what kind of changes are required to be... (7 Replies)
Discussion started by: sankasu
7 Replies

9. Shell Programming and Scripting

ssh connection from remote machine in solaris

Hi! I have two solaris 10 machines(say 10.1.1.1,10.1.1.2). i have installed rsync on 10.1.1.2, 10.1.1.1::: Sun Microsystems Inc. SunOS 5.10 Generic January 2005 -bash-3.00$ ssh 10.1.1.2 "echo $PATH" Password:... (4 Replies)
Discussion started by: dddkiran
4 Replies

10. Shell Programming and Scripting

SSH into a linux machine from a windows machine

I basically want to login into different linux machines( on the same network) from a windows machine. I know i can use ssh <machine name>. But i want to automate this process. I dont want to enter the username and password. Is there any way to do it. Can i make some sort of a batch script for it. (4 Replies)
Discussion started by: lassimanji
4 Replies
Login or Register to Ask a Question