1752587 Members
3680 Online
108788 Solutions
New Discussion юеВ

ssh issue

 
DW1234
Occasional Advisor

ssh issue

I have a test server that I am unable to ssh to although sshd and inetd are up. Any thoughts?
9 REPLIES 9
Bill Hassell
Honored Contributor

Re: ssh issue

Perhaps a better description of 'unable' would help. Can you ping by IP address? by hostname? What error messages do you see? What happens when you run ssh -vvv remoteHost? What is your server's model and OS version? Did you install the HP OpenSSH package or build it yourself? What version is ssh on your local system? Are you trying to use a PC for ssh? If so, what program are you using for ssh?


Bill Hassell, sysadmin
DW1234
Occasional Advisor

Re: ssh issue

Hi Bill,
I am able to ping by IP address as well as hostname. When I try to ssh to the server from another HPUX box, I get 'connecting to failed: TCP/IP Failure. Server OS/B.11.11 U 9000/800.
blu.karthi
Advisor

Re: ssh issue

privide the bellow output
swlist | grep -i "Secure Shell"

ps -ef | grep -i ssh
netstat -an | grep -i 22
madhuchakkaravarthy
Trusted Contributor

Re: ssh issue

hi


check this

#grep-i PermitRootLogin /opt/ssh/etc/sshd_config

output :

#PermitRootLogin yes

regards

MC
DW1234
Occasional Advisor

Re: ssh issue

ps -ef | grep ssh
root 20331 27671 1 08:54:05 ttyp3 0:00 grep ssh
root 1993 26215 0 08:28:25 ? 0:00 /appl/uas/ssh_3.2.3/sbin/sshd2
root 26215 1 0 08:18:21 ? 0:00 /appl/uas/ssh_3.2.3/sbin/sshd2
root 13649 26215 0 08:43:30 ? 0:00 /appl/uas/ssh_3.2.3/sbin/sshd2
root 20643 1 0 Apr 21 ? 0:08 /appl/uas/ssh_3.2.3/sbin/sshd2
---------------------
No output for swlist | grep -i "secure shell"
Steven E. Protter
Exalted Contributor

Re: ssh issue

Shalom,

try ssh -vvv to the server.

Post the output.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Bill Hassell
Honored Contributor

Re: ssh issue

I looks like you have a non-standard ssh installed in /appl (also a non-standard location). If you have a lot of extra time on your hands, you can poke around in the /appl/uas directories to figure out hwat this is and how where it is configured. You may even have a non-standard port (not 22) configured on this server. I assume nobody remembers (or wrote down) how/why this was setup like this.


Bill Hassell, sysadmin
DW1234
Occasional Advisor

Re: ssh issue

Thanks everyone for the quick reponses.
DW1234
Occasional Advisor

Re: ssh issue

Issue was due to low swap space.