- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Getting "Connection Refused" message when usin...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО04-23-2009 07:43 AM
тАО04-23-2009 07:43 AM
#sftp sftp.domainname.com
Connecting to sftp.domainname.com...
ssh: connect to host sftp.domainname.com port 22: Connection refused
Connection closed
I can perform the same command from my Windows workstation and at least get a login prompt. I don't have HIPS or firewall configured on this server. sshd is running. Thoughts anyone?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2009 08:03 AM
тАО04-23-2009 08:03 AM
Re: Getting "Connection Refused" message when using sftp
can talk to the other system, but that it
isn't running (or willing to run) the
requested server. This normally rules out
basic network/routing problems.
> Thoughts anyone?
Many things are possible. Some clever
firewall could do it.
> I don't have HIPS or firewall configured on
> this server.
Which server is "this server"? What's
_between_ the systems?
> sshd is running.
So you claim. (I see no evidence.) On what?
You're hiding the actual commands, so it's
hard to know what you really did, but
"sftp.domainname.com" might mean different
things on the two systems. Specifying an IP
address might change the results.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2009 08:15 AM
тАО04-23-2009 08:15 AM
Re: Getting "Connection Refused" message when using sftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2009 08:16 AM
тАО04-23-2009 08:16 AM
Re: Getting "Connection Refused" message when using sftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2009 08:16 AM
тАО04-23-2009 08:16 AM
Re: Getting "Connection Refused" message when using sftp
It seems to me to be localized to this HP-UX box. I'm just trying to figure out if I missed something obvious.
And yes,
ps -ef | grep sshd
root 1502 1 0 Apr 18 ? 00:00 /opt/ssh/sbin/sshd
Using the ip address made no difference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2009 08:19 AM
тАО04-23-2009 08:19 AM
Re: Getting "Connection Refused" message when using sftp
syslog didn't show anything out of the ordinary.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2009 08:29 AM
тАО04-23-2009 08:29 AM
Re: Getting "Connection Refused" message when using sftp
This means? (My psychic powers are weak.)
> Using the ip address made no difference.
And you tried using "the ip address" on the
Windows system, too? Showing actual commands
with their actual output (that is, actual
evidence) can be _so_ much clearer than vague
descriptions and interpretations.
> ps -ef | grep sshd
> root 1502 1 0 Apr 18 ? 00:00 /opt/ssh/sbin/sshd
If that's on your local SFTP client system,
then who cares? You're trying to talk to the
sshd on the remote server system. Aren't
you? _That's_ where sshd (or something like
it) needs to be running.
For a good time, you might try (everywhere)
a command like:
telnet
where
of the SFTP server. This would tend to
eliminate some potential client-side SSH
configuration quirks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2009 08:33 AM
тАО04-23-2009 08:33 AM
Re: Getting "Connection Refused" message when using sftp
right...that was here:
"ssh: connect to host sftp.domainname.com port 22: Connection refused"
But, what I meant is: is this different from the boxes which work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2009 08:40 AM
тАО04-23-2009 08:40 AM
Re: Getting "Connection Refused" message when using sftp
> port.
You can probably see exactly what you're
doing (and where), and what happens when you
do it, but we non-psychics often can't.
Please try to keep this in mind.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2009 08:53 AM
тАО04-23-2009 08:53 AM
Re: Getting "Connection Refused" message when using sftp
You say that atleast u got login prompt. are u able to login
is the session diconnecting.
Please check the time stamp of /var/adm/net*
if it is latest, please give the o/p of the following
netfmt -t -f /var/adm/
Cheers,
Ravi.