ssh issue


 
Thread Tools Search this Thread
Operating Systems Solaris ssh issue
# 1  
Old 03-03-2010
ssh issue

I'm having a problem with an ssh server "SSH-2.0-Sun_SSH_1.1.2" on solaris 10.
when i do try to connect from windows using puTTY the server refuse's the connection .
when i try to connect using telnet from the same windows machine it accepts the connection and i got the following bannar
SSH-2.0-Sun_SSH_1.1.2
in telnet session
I restarted the ssh with no luck then i rebooted the machine and no luck again ssh accepts connection thru telnet client but not from puTTY also i tried from another machine with same result .
I never had a problem like this before
any ideas would be a great assist.
Thanks

Last edited by h@foorsa.biz; 03-03-2010 at 08:11 AM..
# 2  
Old 03-03-2010
Check your PuTTY settings if you're connecting to the correct port (regular telnet is 23, SSH is 22). Also, if you're able to connect from another machine, can you maybe post a debug output from that connection?
# 3  
Old 03-03-2010
ssh port is set to 22
puTTY output as follows
popup titled
puTTY fatal error
server unexpectedly closed network connection
# 4  
Old 03-03-2010
please ping unix machine from any machine in your network
if you got reply from unix machine IP

please check this file
vi /etc/ssh/sshd_config
you will find some thing like that
Code:
# Listen port (the IANA registered port number for ssh is 22)
Port 22

that mean you will connect through port no 22 to configure putty to use this port

if you connect as a regular user every thing will going ok
if you want to connect as root from the first time
open this file
Code:
# vi /etc/ssh/sshd_config

and change this value to be yes
Code:
PermitRootLogin yes

after you change
you should restart the service of ssh
to find the service do this command
Code:
-bash-3.00# svcs -a | grep -i ssh
online         Mar_01   svc:/network/ssh:default

to restart the service do this command
Code:
-bash-3.00# svcadm restart svc:/network/ssh:default


Note:-
please let us know if it working with you or not


Best Regards
Alexander Corvinus

Last edited by corvinusbsd; 03-03-2010 at 12:02 PM..
# 5  
Old 03-03-2010
1- The server is pingable from any host on same subnet or any network
2- The port is set to 22 in sshd_config
3- I restarted the ssh daemon multiple times - ssh accepts connections from a telnet and shows the ssh banner , no luck with puTTY from multiple machines differenet executable for each
4- I restarted the OS - also no luck
# 6  
Old 03-03-2010
Can you ssh locally on the Solaris 10 machine:
Code:
ssh localhost

?

If yes, this is more likely a putty issue.
# 7  
Old 03-04-2010
Post the output of :
Code:
#svcs | grep ssh

thanks,
Deepak
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Ssh issue

Hi All, I am trying to connect between two system , I am facing the issue with -SSH-t-l userid systemname exit ( this is the syntax) It suppose to ask for password , but it throws the error as mentioned below Error is received disconnect from system and remote login for the... (1 Reply)
Discussion started by: sudhainit
1 Replies

2. UNIX for Beginners Questions & Answers

Issue with SSH key

Hello All , I am trying to set up the keys to login seamless on to two diff environment server(s). i used to have it couple of years back , but somehow never worked and didn`t concentte much , but when i want to setup again . facing a challange while copying the id_rsa.pubfile to... (4 Replies)
Discussion started by: radha254
4 Replies

3. Solaris

SSH issue

Hi guys. I just installed Solaris 10 and want to enable ssh on it So that i can remotely use it from another location. I read a post on this forum an it was written that SSH is enabled by default. I did a ps -ef | grep ssh and nothing showed up meaning that it isnt running. I even tried... (11 Replies)
Discussion started by: Junaid Subhani
11 Replies

4. Fedora

ssh issue

Hello, I have two computers at my desk, let's call them A and B. I have some tasks that can only be performed on one of them and some on the other, so I need to be able to ssh from one to the other and vice versa to transfer files, etc. A can ssh to B without problem: I even copied the public key... (6 Replies)
Discussion started by: Leo_Boon
6 Replies

5. UNIX for Advanced & Expert Users

ssh issue

Hi I have a annoying situation here . Our non prod server connect to informatica to run the work flow. But since yest some jobs are getting failed due ssh to informatica server been unsuccessfull. please look into this. successful log for job fiusdcacct_ios_price_venld: SSH... (2 Replies)
Discussion started by: ptappeta
2 Replies

6. Solaris

SSH issue

Facing a SSH issue while creating passwordless login. unix> ./create_ssh In the program, you will be asked and providing 1. SSH private key filename (twice) 2. key passcode (twice) Enter private key filename: id_ss81dev ld.so.1: ssh-keygen: fatal: relocation... (5 Replies)
Discussion started by: flinders1323
5 Replies

7. Shell Programming and Scripting

SSH issue

I want to run a program on remote server by using unauthenticated ssh. It works when I ssh from command line however, it does not work when I try to invoke ssh script with other application. Any clue? (6 Replies)
Discussion started by: sam101
6 Replies

8. Solaris

SSH/Firewall issue

I am a complete UNIX neophyte with the unenviable task of trying to pseudo manage two SUN boxes with an unknown past. I was not responsible for setting them up, anything that was done on them previously, and have no means of figuring out anything that was done to them. So far I have changed the... (4 Replies)
Discussion started by: tawnos42
4 Replies

9. UNIX for Advanced & Expert Users

An issue with SSH

Hey Guys! I got two PCs at my place. In the beginning, one of my PCs had RHEL3( say PC1 ) and one had RHEL4 ( say PC2 ). I was able to ssh from PC1 to PC2 and vice-versa. But recently I've upgraded PC1 from RHEL3 to RHEL4. Now when i am trying to ssh from PC2 to PC1, it is not allowing... (1 Reply)
Discussion started by: chakri.penguin
1 Replies

10. UNIX for Advanced & Expert Users

ssh issue

Im using the default ssh program on a solaris 9 system to connect to another server. When connecting to the other host it make me type my password in 3 to 4 times before letting me in. Is anyone familar with this? (4 Replies)
Discussion started by: meyersp
4 Replies
Login or Register to Ask a Question