Skip to ContentSkip to Footer
Start of content
- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- Re: quick question on ssh port forwarding
System Administration
-
-
Forums
- Products
- Servers and Operating Systems
- Storage
- Software
- Services
- HPE GreenLake
- Company
- Events
- Webinars
- Partner Solutions and Certifications
- Local Language
- China - 简体中文
- Japan - 日本語
- Korea - 한국어
- Taiwan - 繁體中文
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Blog, Poland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Forums
-
Blogs
-
Information
-
English
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-16-2010 11:53 PM
11-16-2010 11:53 PM
quick question on ssh port forwarding
Guys
I'm trying to set up port forwarding on local host but getting the error below...
Please assist ?
ssh -vv -L 443:localhost:443 10.2.107.97
OpenSSH_5.2p1, OpenSSL 0.9.8k 25 Mar 2009
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Failed dlopen: /usr/krb5/lib/libkrb5.a(libkrb5.a.so): Could not load module /usr/krb5/lib/libkrb5.a(libkrb5.a.so).
System error: No such file or directory
debug1: Error loading Kerberos, disabling Kerberos auth.
debug2: ssh_connect: needpriv 0
debug1: Connecting to 10.2.107.97 [10.2.107.97] port 22.
debug1: connect to address 10.2.107.97 port 22: Connection timed out
ssh: connect to host 10.2.107.97 port 22: Connection timed out
I'm trying to set up port forwarding on local host but getting the error below...
Please assist ?
ssh -vv -L 443:localhost:443 10.2.107.97
OpenSSH_5.2p1, OpenSSL 0.9.8k 25 Mar 2009
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Failed dlopen: /usr/krb5/lib/libkrb5.a(libkrb5.a.so): Could not load module /usr/krb5/lib/libkrb5.a(libkrb5.a.so).
System error: No such file or directory
debug1: Error loading Kerberos, disabling Kerberos auth.
debug2: ssh_connect: needpriv 0
debug1: Connecting to 10.2.107.97 [10.2.107.97] port 22.
debug1: connect to address 10.2.107.97 port 22: Connection timed out
ssh: connect to host 10.2.107.97 port 22: Connection timed out
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2010 12:14 AM
11-17-2010 12:14 AM
Re: quick question on ssh port forwarding
Further to my email above I'm using this command
ssh -f -L 443:10.2.107.97:443 dest_hostname "sleep 300"
Now when apps guys is doing telnet to the above port on destination server it doesn't work,
do u think the above syntax is correct and this could be fw issue, I can engage a fw person to check if I'm using the correct syntax in the command ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2010 02:21 AM
11-17-2010 02:21 AM
Re: quick question on ssh port forwarding
>debug1: connect to address 10.2.107.97 port 22: Connection timed out
>ssh: connect to host 10.2.107.97 port 22: Connection timed out
This says the entire SSH connection is failing because no response at all was received from 10.2.107.97.
Possible causes:
- no sshd running on 10.2.107.97
- a firewall is blocking your connection attempt to 10.2.107.97 and/or its responses back to you
- host 10.2.107.97 is down and a firewall is blocking the "Host unreachable" ICMP error message that would normally be sent to you by the gateway of the remote host. (I would call it "over-zealous ICMP filtering", but that's just my opinion...)
- there is a network routing problem and a firewall is filtering out the ICMP message that would tell you what is wrong (again, over-zealous ICMP filtering in my opinion)
The error message about libkrb5 is harmless unless you're using Kerberos authentication.
A Telnet connection has a destination port of TCP/23, while SSH connection uses TCP/22. For a firewall, these are two entirely separate connection types: if one is allowed, it tells nothing at all about the other.
Definitely talk to your firewall administrator.
MK
>ssh: connect to host 10.2.107.97 port 22: Connection timed out
This says the entire SSH connection is failing because no response at all was received from 10.2.107.97.
Possible causes:
- no sshd running on 10.2.107.97
- a firewall is blocking your connection attempt to 10.2.107.97 and/or its responses back to you
- host 10.2.107.97 is down and a firewall is blocking the "Host unreachable" ICMP error message that would normally be sent to you by the gateway of the remote host. (I would call it "over-zealous ICMP filtering", but that's just my opinion...)
- there is a network routing problem and a firewall is filtering out the ICMP message that would tell you what is wrong (again, over-zealous ICMP filtering in my opinion)
The error message about libkrb5 is harmless unless you're using Kerberos authentication.
A Telnet connection has a destination port of TCP/23, while SSH connection uses TCP/22. For a firewall, these are two entirely separate connection types: if one is allowed, it tells nothing at all about the other.
Definitely talk to your firewall administrator.
MK
MK
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.
End of content
United States
Hewlett Packard Enterprise International
Communities
- Communities
- HPE Blogs and Forum
© Copyright 2022 Hewlett Packard Enterprise Development LP