- 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 08:54 AM
тАО04-23-2009 08:54 AM
Re: Getting "Connection Refused" message when using sftp
netfmt -t 5 -f /var/adm/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2009 09:03 AM
тАО04-23-2009 09:03 AM
Re: Getting "Connection Refused" message when using sftp
I'm using the IP address now on all my tests to rule out a DNS problem.
I get a login prompt from the remote system when I use Putty on my Windows system, using an IP address.
You were questioning my claim that sshd was running. Apologies for not specifying that I checked it on my system. Doesn't the fact that I could get the login prompt from the remote server on the SCO and Windows boxes indicate that sshd was running on the remote system?
And if I haven't stripped your gears by my previous comments to the point where you won't help me...
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
From the Windows box:
login as:
From the HP-UX client:
telnet 65.79.165.194 22
Trying...
telnet: Unable to connect to remote host: Connection refused
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2009 09:04 AM
тАО04-23-2009 09:04 AM
Re: Getting "Connection Refused" message when using sftp
Also please give me the o/p of ssh -v -v server name
and try restarting sshd
/sbin/init.d/secsh stop
/sbin/init.d/secsh start
Cheers,
Ravi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2009 09:19 AM
тАО04-23-2009 09:19 AM
Re: Getting "Connection Refused" message when using sftp
HP-UX Secure Shell-A.04.50.021, HP-UX Secure Shell version
Stopping and restarting the service on my side (client) didn't help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2009 09:21 AM
тАО04-23-2009 09:21 AM
Re: Getting "Connection Refused" message when using sftp
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/
Ravi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2009 09:27 AM
тАО04-23-2009 09:27 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 09:33 AM
тАО04-23-2009 09:33 AM
Re: Getting "Connection Refused" message when using sftp
I think the connection is getting refused because of protocal version. Since it working with putty,
I need you to try the following from the hpux client.
ssh -1 hostname
ssh -2 hostname
Ravi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2009 09:35 AM
тАО04-23-2009 09:35 AM
Re: Getting "Connection Refused" message when using sftp
ssh: connect to host sftp.domainname.com port 22: Connection refused
# ssh -2 sftp.domainname.com
ssh: connect to host sftp.domainname.com port 22: Connection refused
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2009 09:37 AM
тАО04-23-2009 09:37 AM
Re: Getting "Connection Refused" message when using sftp
o/p please.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2009 09:41 AM
тАО04-23-2009 09:41 AM
Re: Getting "Connection Refused" message when using sftp
OpenSSH_4.5p1+sftpfilecontrol-v1.1-hpn12v14, OpenSSL 0.9.7l 28 Sep 2006
HP-UX Secure Shell-A.04.50.021, HP-UX Secure Shell version
debug1: Reading configuration data /opt/ssh/etc/ssh_config
debug3: RNG is ready, skipping seeding
debug2: ssh_connect: needpriv 0
debug1: Connecting to sftp.domainname.com [###.###.###.###] port 22.
debug1: connect to address ###.###.###.### port 22: Connection refused
ssh: connect to host sftp.domainname.com port 22: Connection refused
*(IP address has been sanitized)