HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ssh -X only tunneling one connection
Operating System - HP-UX
1837277
Members
3021
Online
110115
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
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
07-02-2002 12:24 PM
07-02-2002 12:24 PM
ssh -X only tunneling one connection
Here is a kind of strange problem that i have run into.
I recently set up a new LDAP server and have been changing a lot of stuff on the network and somewhere along the way sshd got broken. Originally it wasn't letting anyone ssh in except root and i found that the problem was because i had lanman_auth = no but i fixed that (and in fact put CIFS on instead so that problem doesn't exist any more) but now if i try to ssh -X then it will log me and and tunnel the X display fine, but if i open another term or someone else tries the same thing then it will return and say "connection to closed by remote host" and it won't let me log in at all.
I was wondering if there is a configuration file somewhere that got set to tunnel only one display or if anyone can divine what could be the problem here.
Thanks for your help in advance (and i will be sure to post points for any help!)
-Chris Kosanovich
I recently set up a new LDAP server and have been changing a lot of stuff on the network and somewhere along the way sshd got broken. Originally it wasn't letting anyone ssh in except root and i found that the problem was because i had lanman_auth = no but i fixed that (and in fact put CIFS on instead so that problem doesn't exist any more) but now if i try to ssh -X
I was wondering if there is a configuration file somewhere that got set to tunnel only one display or if anyone can divine what could be the problem here.
Thanks for your help in advance (and i will be sure to post points for any help!)
-Chris Kosanovich
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 01:26 PM
07-02-2002 01:26 PM
Re: ssh -X only tunneling one connection
Chris,
As far as I know there isn't a configuration paramater that would be limiting you from opening a second term when tunneling with ssh.
What version of ssh are you running, both client and server? Also what does output look like from:
ssh -v -X
I would also recommend using -C option (Compression yes in the config file), when tunneling X sessions as they tend to eat up bandwidth.
Unforunately, I only have a little bit of experience with ssh tunneling, but I'm sure someone can shed some more light on your problem.
Hope that helps.
-Mike
As far as I know there isn't a configuration paramater that would be limiting you from opening a second term when tunneling with ssh.
What version of ssh are you running, both client and server? Also what does output look like from:
ssh -v -X
I would also recommend using -C option (Compression yes in the config file), when tunneling X sessions as they tend to eat up bandwidth.
Unforunately, I only have a little bit of experience with ssh tunneling, but I'm sure someone can shed some more light on your problem.
Hope that helps.
-Mike
The network is the computer, yeah I stole it from Sun, so what?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 02:42 PM
07-02-2002 02:42 PM
Re: ssh -X only tunneling one connection
Actually i was using 3.1p1 but i just compiled 3.4 and it seems to be working, but i am pretty sure that it's not the version because a few machines that i didn't set up on LDAP are still on 3.1 and they work fine with the X display so there is something that got changed or corrupted. In any case it's no longer urgent since i will just spend the next little while upgrading ssh to 3.4 on all the machines but if anyone can shed some light on what could have caused this that would be great.
Thanks.
-Chris
Thanks.
-Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2002 12:54 PM
07-04-2002 12:54 PM
Re: ssh -X only tunneling one connection
I would check the sshd_config file on the target host and make sure you have X11Forwarding yes
X11DisplayOffset 10
When you connect what is your display set to?
I assume you are running an xterm. Can you create another xterm from your existing session?
For the other new sessions can we have some debug output from both the client and the server.
Regards
Phil.
X11DisplayOffset 10
When you connect what is your display set to?
I assume you are running an xterm. Can you create another xterm from your existing session?
For the other new sessions can we have some debug output from both the client and the server.
Regards
Phil.
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