HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ssh: secure connection refused
Operating System - HP-UX
1833784
Members
4618
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 05:34 PM
11-24-2004 05:34 PM
Hi,
I have installed OpenSSH_3.1 on a HP-UX 10.20 workstation. Now I can ssh out successfully but I can not ssh in or even ssh to itself.
$ /usr/local/openssh/bin/ssh -v 127.0.0.1
OpenSSH_3.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090601f
debug1: Reading configuration data /usr/local/openssh/etc/ssh_config
debug1: Applying options for *
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: restore_uid
debug1: ssh_connect: getuid 1001 geteuid 0 anon 1
debug1: Connecting to 127.0.0.1 [127.0.0.1] port 22.
debug1: temporarily_use_uid: 1001/9 (e=0)
debug1: restore_uid
debug1: temporarily_use_uid: 1001/9 (e=0)
ssh: connect to address 127.0.0.1 port 22: Connection refused
debug1: restore_uid
I have changed some configurations in file ssh_config, sshd_config and /etc/services but it's still not working.
Thanks & Regards!
Yu Ting
I have installed OpenSSH_3.1 on a HP-UX 10.20 workstation. Now I can ssh out successfully but I can not ssh in or even ssh to itself.
$ /usr/local/openssh/bin/ssh -v 127.0.0.1
OpenSSH_3.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090601f
debug1: Reading configuration data /usr/local/openssh/etc/ssh_config
debug1: Applying options for *
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: restore_uid
debug1: ssh_connect: getuid 1001 geteuid 0 anon 1
debug1: Connecting to 127.0.0.1 [127.0.0.1] port 22.
debug1: temporarily_use_uid: 1001/9 (e=0)
debug1: restore_uid
debug1: temporarily_use_uid: 1001/9 (e=0)
ssh: connect to address 127.0.0.1 port 22: Connection refused
debug1: restore_uid
I have changed some configurations in file ssh_config, sshd_config and /etc/services but it's still not working.
Thanks & Regards!
Yu Ting
Solved! Go to Solution.
- Tags:
- ssh
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 05:44 PM
11-24-2004 05:44 PM
Solution
Hi Yu Ting,
Looks like you don't have 'sshd' process running. Do a 'ps -ef|grep sshd' and see if there is a process.
If there is none, then you will need to start your sshd process. Startup is dependent on the version you installed. If you installed it from HP's porting center, you will normally find a startup file under /sbin/rc*.d directory. Find it using the command
ll /sbin/init.d/ssh*
/sbin/init.d/sshd start
Installation should already have configured sshd on the box such as generating hostkeys. If it says 'hostkey not found', then run the following command.
ssh-keygen -t rsa1 -N ''
.
If you don't find /sbin/init.d script, then try running and see if it works
/usr/local/openssh/sbin/sshd
-Sri
Looks like you don't have 'sshd' process running. Do a 'ps -ef|grep sshd' and see if there is a process.
If there is none, then you will need to start your sshd process. Startup is dependent on the version you installed. If you installed it from HP's porting center, you will normally find a startup file under /sbin/rc*.d directory. Find it using the command
ll /sbin/init.d/ssh*
/sbin/init.d/sshd start
Installation should already have configured sshd on the box such as generating hostkeys. If it says 'hostkey not found', then run the following command.
ssh-keygen -t rsa1 -N ''
If you don't find /sbin/init.d script, then try running and see if it works
/usr/local/openssh/sbin/sshd
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 06:18 PM
11-24-2004 06:18 PM
Re: ssh: secure connection refused
Thanks! It's working.
Daemon is not running.
Regards!
Yu Ting
Daemon is not running.
Regards!
Yu Ting
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP