cancel
Showing results for 
Search instead for 
Did you mean: 

I can't SSH my server

unix55
Advisor

I can't SSH my server

Hi,

 

i facing strange error, i can't login to my server by ssh on port 22 i facing this error

 

ssh: connect to host mac58 port 22: Connection refused

 

i don't no how to resolve it, my OS is 11.31

 

where i can login to my server through the ilo

 

Thanks

2 REPLIES
Steven Schweda
Honored Contributor

Re: I can't SSH my server

 
basant
Frequent Advisor

Re: I can't SSH my server

If you are able to login through MP , try this

HP-UX Secure Shell uses Pluggable Authentication Module for password authentication. Server configuration file is located at
/opt/ssh/etc/sshd_config.

HP-UX SSHD System Startup and Shutdown script:

/sbin/init.d/secsh {start|stop}

System startup configuration file

/etc/rc.config.d/sshd

Stop HP UX SSH Service
Type the command:
# /sbin/init.d/secsh stop
Start HP UX SSH Service
Type the command:
# /sbin/init.d/secsh start

after this try to Telnet or SSH to your server
Basant Sharma