- 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
Forums
Discussions
Discussions
Discussions
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
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 10:24 AM
04-23-2009 10:24 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 10:34 AM
04-23-2009 10:34 AM
Re: Getting "Connection Refused" message when using sftp
Meantime, can you check the route table and /opt/ssh/etc/ssh_config and /opt/ssh/etc/sshd_config of the sco and hpux box.
I am not sure, if this could be the problem.
rename the known_hosts and all other files under $HOME/.ssh/*
then try to do ssh.
I will get back to you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2009 12:13 PM
04-23-2009 12:13 PM
Solution> need the sarcasm.
What sarcasm?
> From the SCO box:
>
> telnet 65.79.165.194 22
> Trying 65.79.165.194...
> Connected to 65.79.165.194.
> Escape character is '^]'.
> SSH-2.0-VShell_2_6_4_448 VShell
Ok. I now believe that there's an SSH (and
hence, probably, SFTP) service available at
65.79.165.194.
> From the HP-UX client:
>
> telnet 65.79.165.194 22
> Trying...
> telnet: Unable to connect to remote host: Connection refused
But it appears to be inaccessible from your
HP-UX system.
> [...] Some clever firewall could do it.
I was serious about that. Perhaps _you_ are
not running a firewall at _your_ end, but the
folks at the other end could be running all
kinds of stuff at their end. (I can't even
reach that address from my system, so it's
clear that there is _some_ kind of access
restriction engaged.)
Have you asked the people in control at the
other end about this problem? Did they say
anything?
Can we assume that your systems have
externally realistic IP addresses, and
they're in direct contact with the external
system? (That is, there's no router doing
NAT/PAT on your end?) If you're in doubt,
you could try to reach my server
(antinode.info) from your various systems,
and I could look at my logs to see where you
appear to be coming from.
Because you _are_ running sshd on your HP-UX
system, you could also try some simple tests
like trying to connect _to_ it by SSH
(similar to but simpler than SFTP) from your
other systems, and from itself. (Or Telnet
to port 22, if you have doubts about your ssh
client program.) It would be comforting to
see your HP-UX system connect to _something_
using SSH. And if that works, it would seem
to shift the blame to the other guys, which
is always a laudable goal.
Back in Fantasyland...
> and try restarting sshd
This might make more sense if you were having
trouble with inbound connections. You could
_kill_ your own server and not affect your
ability to get out.
> I think the connection is getting refused
> because of protocal version. [...]
I don't.
> *(IP address has been sanitized)
We need _more_ mysteries? Is this the same
one you blurted out already?
> I hope you are trying to do sftp or ssh
> using a normal account and not a root
> account.
I'd love to know why that should matter.
> rename the known_hosts and all other files
> [...]
Not how I'd proceed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2009 12:26 PM
04-23-2009 12:26 PM
Re: Getting "Connection Refused" message when using sftp
Connecting to antinode.info...
ssh: connect to host antinode.info port 22: Connection refused
Connection closed
# ftp antinode.info
Connected to antinode.info.
220- Antinode FTP Server. Please be nice.
220 alp.antinode.info FTP Server (Version 5.4) Ready.
Name (antinode.info:scoper): anonymous
331 Guest login OK, send ident as password.
Password:
230- Using Microsoft Internet Explorer and having problems?
Try using a better FTP client.
Netscape Navigator (V3 or V4) works well.
230 Guest login OK, access restrictions apply.
Remote system type is VMS.
ftp>
> Please be nice.
...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2009 12:52 PM
04-23-2009 12:52 PM
Re: Getting "Connection Refused" message when using sftp
> Connecting to antinode.info...
> ssh: connect to host antinode.info port 22: Connection refused
> Connection closed
Hmmm. No evidence here of an SSH connection
attempt. (Just from some clown in Japan,
203.152.212.246) You might also try plain
ssh instead of sftp (but it shouldn't
matter). Or, again, from your other systems.
The plain FTP did appear (obviously):
23-APR-2009 15:24:03.80 User:anonymous logged in ident:pmXXXXXXer@XXXX.com from
Host:12.XX6.139.150
You're sure that you're not running Bastille
(or something) on that system? Can it talk
(ssh) to itself?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2009 01:04 PM
04-23-2009 01:04 PM
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 04:21 PM
04-23-2009 04:21 PM
Re: Getting "Connection Refused" message when using sftp
That's a good sign.
> I'm beginning to think it may be a VLAN
> configuration issue.
My psychic powers were too weak to reveal the
existence of a VLAN. The best I could do
was:
> [...] What's _between_ the systems?
and the IP address question cited below.
> I can connect via psftp to antinode.info
> from my workstation.
I see SSH connections from 12.XX6.139.150.
That does seem to be the _only_ IP address in
that neighborhood which I do see, however,
for either FTP or SSH, so if you're coming
from more than one system, then there would
seem to be some kind of fancy network gizmo
between your systems and the outside world.
(Hence my question about your IP addresses
and a "router doing NAT/PAT on your end".)
Blame assignment (always the most important
part of any job) may now be complete.
On my end, for example, antinode.info
(209.98.249.184) is actually a Cisco 678 DSL
modem/router, but it directs the usual
connection attempts to alp.antinode.info
(known locally as 10.0.0.9), as you've seen.
It also, so far as I know, doesn't molest any
outbound traffic, which would seem to
differentiate it from whatever you have
disrupting your outbound traffic.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2009 02:49 AM
04-27-2009 02:49 AM
Re: Getting "Connection Refused" message when using sftp
Is the issue resolved?
Ravi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2009 08:04 AM
04-27-2009 08:04 AM
Re: Getting "Connection Refused" message when using sftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2009 11:01 AM
04-27-2009 11:01 AM
Re: Getting "Connection Refused" message when using sftp
in the points/value ratio in these forums.
(But I live a dull life.)
Thanks for the report on the resolution,
irregardful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2009 09:43 AM
04-28-2009 09:43 AM
Re: Getting "Connection Refused" message when using sftp
'nuff said. I appreciate the help from everyone, if not the way it was presented from some.
- « Previous
-
- 1
- 2
- Next »