Putty SSH connection not working


 
Thread Tools Search this Thread
Operating Systems Solaris Putty SSH connection not working
# 1  
Old 06-17-2012
Putty SSH connection not working

I am trying to connect to a solaris server using putty from a indows client. SSH connection is not working. The terminal indow just gives an error message "Network error:Connection refused".
I verified SSHD and its running correctly!
Code:
#svcs -p ssh
STATE        STIME FMRI
online       17:54:44 :/network/ssh/ssh:default
             17:5344 630 sshd

Is that the Connection refused means the service is running but you don't have access?!

Thank you for reply

---------- Post updated at 01:39 PM ---------- Previous update was at 01:00 PM ----------

when i try connection on SSH between tow server solaris 10,thats works perfectly!

ps : i use this command :
Code:
 ssh root@192.168.1.16

# 2  
Old 06-17-2012
"Connection refused" error message can show up if the firewall is blocking access. It could be possible that the firewall is configured to deny access to port 22 for certain clients or IP range. So, so you have a firewall sitting in between or the Solaris's firewall is turned on?

Last edited by admin_xor; 06-17-2012 at 04:51 PM..
# 3  
Old 06-18-2012
Possibly caused by incompatible encryption algorithms. Older Solaris 10 (11/06 or older) may need to install the Solaris Encryption kit -or- change your putty to use "blowfish" instead of aes. Sorry, don't have putty in front of me to point out the exact key sequence, but I know it's in there.
# 4  
Old 06-20-2012
edit the entry in /etc/ssh/sshd_config

permitrootlogin NO to YES


then restart ssh services
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Ssh script to validate ssh connection to multiple serves with status

Hi, I want to validate ssh connection one after one for multiple servers..... password less keys already setup but now i want to validate if ssh is working fine or not... I have .sh script like below and i have servers.txt contains all the list of servers #/bin/bash for host in $(cat... (3 Replies)
Discussion started by: sreeram4
3 Replies

2. Shell Programming and Scripting

Automating pbrun /bin/su not working, whenever manually it is working using putty

I am trying to automate a script where I need to use pbrun /bin/su but for some reason it is not passing thru the pbrun as my code below. . ~/.bash_profile pbrun /bin/su - content c h 1 hpsvn up file path I am executing this from an external .sh file that is pointing to this scripts file... (14 Replies)
Discussion started by: jorgejac
14 Replies

3. Solaris

Putty Serial Connection problems

Hi forums, I was wondering if any of you have faced this problem that I have been having for quite some time now regarding serial connection with putty to my Solaris Box Sunfire v250 and Sun v220 and sun v440. The serial connection freezes on my Windows 7 64 and 32 Bit machines. I unplug and... (3 Replies)
Discussion started by: br1an
3 Replies

4. SuSE

Unable to putty using ssh at port 22

I installed linux on one of my system and assigned valid network ip to it. I am able to connect to net properly. But when I try to putty this system from another system using ssh at port 22 then it gives me connection timed out error. When I ping the system it responds fine but still unable to... (2 Replies)
Discussion started by: rupeshkp728
2 Replies

5. UNIX for Advanced & Expert Users

How keep running a program n an another computer via a connection ssh when the connection is closed?

Hi everybody, I am running a program on a supercomputer via my personal computer through a ssh connection. My program take more than a day to run, so when I left work with my PC I stop the connection with the supercomputer and the program stop. I am wondering if someone know how I can manage... (2 Replies)
Discussion started by: TomTomGre
2 Replies

6. Solaris

how to get to openboot through ssh putty?

hi, iīm trying to get openboot through ssh putty, could you tell me the way because i donīt have a sun keyboard.. thanks... (3 Replies)
Discussion started by: pabloli150
3 Replies

7. UNIX for Dummies Questions & Answers

Command to delay password entry - putty connection manager

Hi all, putty connection manager is great but when attempting to sudo or ssh to another box via the post login commands it is subject to issues due to network latency (what happens is that pcm enters the password before the unix box is ready to receive it). Is there any clever way I can make... (1 Reply)
Discussion started by: skinnygav
1 Replies

8. UNIX for Dummies Questions & Answers

Enabling backspace usage in Putty SSH connection ?

I have started a new job for 2 weeks not. I am distributing software packages through Tivoli and connecting to the servers using Putty in X11 and SSH. But on the command line, the backspace is disabled. I know its a command I have to enter in my .profile but I don't remember. There is a Ctrl+H... (2 Replies)
Discussion started by: Browser_ice
2 Replies

9. Solaris

SSH with Putty

I've been trying to setup my SunBlade as an SSH server. I configured the sshd_config file, but I cannot get the keys to exchange properly. I generate a key pair in Putty on my laptop (the host, running Win2K), exported the Private key as OpenSSH and then copied the public key to the a file I... (3 Replies)
Discussion started by: AJA
3 Replies
Login or Register to Ask a Question