HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Showing results for 
Search instead for 
Did you mean: 

ssh connection refused


ssh connection refused

I had to ignite an L2000 server with an ignite tape from another server. everything went well. I changed the name, IP, etc... But now I get connection refused when I try to ssh session into the server. I can do a normal telnet sessions just fine...

Please help!
Steven E. Protter
Exalted Contributor

Re: ssh connection refused


the .ssh files for root are incorrect after the restore.

remove the files

ssh-keygen -t dsa

enter through the questions.

Restore any authorized_keys file you use centrally.

Steven E Protter
Owner of ISN Corporation
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Mel Burslan
Honored Contributor

Re: ssh connection refused

if the original (source of ignite image) server and the newly ignited server are on different subnets, make sure there are no firewalls with different rule sets preventing you from ssh into the new one.

Otherwise, the connection refused message is not caused by the ssh keys or anything in the .ssh directory as SEP suggest. At the worst case, your authentication fails and you either get prompted for a password or see a message, warning you about a possible man-in-the-middle attack.

Also, make sure that your sshd has started after booting the new server.

ps -ef | grep sshd

if not running

/sbin/init.d/secsh start

Hope this helps
UNIX because I majored in cryptology...

Re: ssh connection refused

the command "ssh-keygen -t dsa" ran ok. but I still have the same issue. Any other ideas?

Re: ssh connection refused

YES! you got it. SSHD did not start on bootup. Thanks!
Mel Burslan
Honored Contributor

Re: ssh connection refused

Assuming you are on another unix server while trying to ssh into the newly ignited L2000. If this is true, try

ssh -vvv newserver

and cut and paste the output here.
UNIX because I majored in cryptology...