Failure to telnet in new install Sun5.10


 
Thread Tools Search this Thread
Operating Systems Solaris Failure to telnet in new install Sun5.10
# 22  
Old 03-17-2010
>>1) edit /etc/default/login and comment
#CONSOLE=/dev/console
already comment
>>2) Check if telnet service is running
>>svcs -l telnet
svc:/network/telnet:default
start_time XXXXXXXXXXXXx
>>3) Create a test user on server. It should have a login directory and shell.
>>From the remote PC check the following

I can telnet by other new create user from other PC to the SUN 5.10
Only root cannot telnet ....
>>1) Is there a firewall between Solaris and remote PC. If yes then enable appropriate ports on FW
No firewall
>>2) Ping the Solaris box
ok , normal
>>3) On the Solaris run dmesg or tail -f /var/adm/messages and run telnet from remote PC. Check the error on message file.

Failed password for root from 192.168.204.1 port ssh2
Read from socket failed : connection reset by peer
[ID 800047 auth.crit] fatal :read from socket failed :connection reset by peer

Please advice
# 23  
Old 03-18-2010
You are trying telnet to root where as the log shows port ssh2 failure.

This log is incomplete
I would like to see the whole thing.

<Date><hostname><facility.level> Failed password for root from 192.168.204.1 port ssh2

You may scramble the hostname. But I need the facility.level.

I dont get why ssh2 is comming in picture.

Thanks,
KK
# 24  
Old 03-19-2010
I make amendment .
The telnet is ok ...
The ssh is not ok for root..
The new create user is ok for ssh .

Below is the error from console when ssh using root failure .....

unknown sshd[617]: Failed password for root from X.X.X. port 3234 ssh2

Please advice how to fix .....
# 25  
Old 03-19-2010
Quote:
Originally Posted by chuikingman1
I make amendment .
The telnet is ok ...
The ssh is not ok for root..
The new create user is ok for ssh .

Below is the error from console when ssh using root failure .....

unknown sshd[617]: Failed password for root from X.X.X. port 3234 ssh2

Please advice how to fix .....
Look at sshd_config under /etc/ssh
Change the "PermitRootLogin" to yes
Restart the service

---------- Post updated at 01:23 PM ---------- Previous update was at 01:21 PM ----------

Read the sshd_config under /etc/ssh
Change the "PermitRootLogin" to 'yes'
Restart the service

---------- Post updated at 01:31 PM ---------- Previous update was at 01:23 PM ----------

Check on sshd_conf file under /etc/ssh
Change "PermitRootLogin" to 'yes'
Restart the service
# 26  
Old 03-19-2010
yes .it is working now .thankyou
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Java Install Failure

Hello Everyone, I am trying to install a new version of Java on Solaris 10 but I am unable to install. The server is a SPARC 64bit machine. I downloaded Java SE Runtime Environment 8u101 (jre-8u101-solaris-sparcv9.tar.gz), then changed the directory to /usr/java. Copied the tar.gz... (5 Replies)
Discussion started by: dhiralall
5 Replies

2. Solaris

Oracle DB install failure

Hi all, I'm quite new to Solaris and I've been searching around everywhere to try and find the root of my Oracle DB install problem. It quits immediately when it runs isainfo when it gets a return of 3md64. To me this looks like there is a typo where ever isainfo pulls it's info from, but I... (13 Replies)
Discussion started by: asilv
13 Replies

3. Shell Programming and Scripting

Success/failure status of telnet connection

Hi, I am running a shell script which will spawn the telnet and login. But sometimes, the telnet session itself is not getting spawned. My requirement is, if the telnet session is not spawned, the user must be notified that it failed. Is there any command to capture the status of telnet... (2 Replies)
Discussion started by: merin
2 Replies

4. UNIX for Dummies Questions & Answers

Failure to install Linux

I need help. My recently downloaded LINUX version won't install. Is this because of as previous OS being installed in my PC. I removed it prior to my LINUX installation and this is where problems started. (2 Replies)
Discussion started by: henzbelmont
2 Replies

5. Shell Programming and Scripting

Automating telnet checking for success/failure

Hi I wanna automate the telnet process for port connection.. # telnet 0 port_number Trying 0.0.0.0... Connected to 0. Escape character is '^]'. If its connected how to make it disconnect automatically.. And how to check for success or failure.. (0 Replies)
Discussion started by: ningy
0 Replies

6. Red Hat

Install telnet in Fedora 8 ?

Hi,I need to make a test on Fedora 8, with a Telnet... and seems NOT to beenabled.The package is installed, but if I have a look into /etc/xinedtd thereis no TELNET file ?Is there any changes into FEDORA 8 ?Plz help .. ...Thanks. (2 Replies)
Discussion started by: shipon_97
2 Replies

7. AIX

bos.rte.5.2.0.10 - Failure to Install (/usr/lib/methods/cfgsf bad permissions)

I have a RS/6000 B80 which just had a disk failure; I've added a new drive and am in the process of rebuilding. I have reinstalled AIX 5.2 and am now looking to begin updating. (fyi this will be the second time I have attempted to rebuild this machine, the first time i installed ML 5200-10 and... (1 Reply)
Discussion started by: wesiman
1 Replies

8. Solaris

/var in sun5.9

I recreated the /var mountpoint (which accidentally got deleted ) in one of my Sun v490 servers(5.9) with the backup of another V490 Server. Would a reboot of the server pose any issues? My little knowledge doesn't foresee any (provided the packages in /var/sadm are not linked to any Lib... (1 Reply)
Discussion started by: Renjesh
1 Replies

9. AIX

telnet failure

My hardware is a JS21 IBM server with AIX 5.3L. I can console into the blade but at times I am able to telnet to a LDAP server on port 389, but then there are times I can not telnet to the port. I can't ping the server when I experience this issues. My application I support goes down in flames and... (3 Replies)
Discussion started by: billet75
3 Replies

10. UNIX for Dummies Questions & Answers

fbdesk install failure

hello all. I just started to use fluxbox (www.fluxbox.org) as my gui, i like the fact that it is much faster than kde. The only problem is that it doesn't support icons on the desktop nativly. If you want that ability you have to instal the fbdesk package. When i go to instal this package i get an... (0 Replies)
Discussion started by: Shifty
0 Replies
Login or Register to Ask a Question