- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ssh 3.6.1 connection closed by remote host
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
12-19-2003 06:59 AM
12-19-2003 06:59 AM
>ssh banach
jafri@banach's password:
Connection to banach closed by remote host.
Connection to banach closed.
I can ssh as root and sftp as the user, but cannot connect as a user.
When I try the -v to get more information I get
jafri@banach's password:
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: channel 0: request pty-req
debug1: channel 0: request shell
debug1: channel 0: open confirm rwindow 0 rmax 32768
debug1: channel_free: channel 0: client-session, nchannels 1
Connection to banach closed by remote host.
Connection to banach closed.
debug1: Transferred: stdin 0, stdout 0, stderr 75 bytes in 0.0 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 2506.4
debug1: Exit status -1
And ideas
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2003 07:20 AM
12-19-2003 07:20 AM
Re: ssh 3.6.1 connection closed by remote host
will it help with this: Not sure, but you should go to it anyway. It fixes the flaw that forced the development of ssh 3.7
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2003 07:41 AM
12-19-2003 07:41 AM
Re: ssh 3.6.1 connection closed by remote host
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2003 04:47 AM
12-20-2003 04:47 AM
Re: ssh 3.6.1 connection closed by remote host
Others problems are caused when the sshd user does not own the executables.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 02:46 AM
12-22-2003 02:46 AM
Re: ssh 3.6.1 connection closed by remote host
Dec 22 10:42:12 banach sshd[8752]: fatal: mm_receive_fd: expected type 1 got 107
3863176
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 03:30 AM
12-22-2003 03:30 AM
Re: ssh 3.6.1 connection closed by remote host
add -vvv for detailed debug and post thr results
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 04:18 AM
12-22-2003 04:18 AM
Re: ssh 3.6.1 connection closed by remote host
jafri@banach's password:
debug3: packet_send2: adding 64 (len 57 padlen 7 extra_pad 64)
debug2: we sent a password packet, wait for reply
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug1: Entering interactive session.
debug2: callback start
debug2: ssh_session2_setup: id 0
debug1: channel 0: request pty-req
debug3: tty_make_modes: ospeed 9600
debug3: tty_make_modes: ispeed 0
debug3: tty_make_modes: 1 3
debug3: tty_make_modes: 2 28
debug3: tty_make_modes: 3 8
debug3: tty_make_modes: 4 21
debug3: tty_make_modes: 5 4
debug3: tty_make_modes: 6 255
debug3: tty_make_modes: 7 255
debug3: tty_make_modes: 8 17
debug3: tty_make_modes: 9 19
debug3: tty_make_modes: 10 26
debug3: tty_make_modes: 11 0
debug3: tty_make_modes: 13 0
debug3: tty_make_modes: 14 0
debug3: tty_make_modes: 16 0
debug3: tty_make_modes: 30 0
debug3: tty_make_modes: 31 0
debug3: tty_make_modes: 32 0
debug3: tty_make_modes: 33 0
debug3: tty_make_modes: 34 0
debug3: tty_make_modes: 35 0
debug3: tty_make_modes: 36 1
debug3: tty_make_modes: 37 0
debug3: tty_make_modes: 38 1
debug3: tty_make_modes: 39 0
debug3: tty_make_modes: 40 1
debug3: tty_make_modes: 41 0
debug3: tty_make_modes: 50 1
debug3: tty_make_modes: 51 1
debug3: tty_make_modes: 52 0
debug3: tty_make_modes: 53 1
debug3: tty_make_modes: 54 1
debug3: tty_make_modes: 55 1
debug3: tty_make_modes: 56 0
debug3: tty_make_modes: 57 0
debug3: tty_make_modes: 58 0
debug3: tty_make_modes: 59 1
debug3: tty_make_modes: 60 1
debug3: tty_make_modes: 61 1
debug3: tty_make_modes: 62 0
debug3: tty_make_modes: 70 1
debug3: tty_make_modes: 71 0
debug3: tty_make_modes: 72 1
debug3: tty_make_modes: 73 0
debug3: tty_make_modes: 74 0
debug3: tty_make_modes: 75 0
debug3: tty_make_modes: 90 1
debug3: tty_make_modes: 91 1
debug3: tty_make_modes: 92 1
debug3: tty_make_modes: 93 0
debug1: channel 0: request shell
debug2: callback done
debug1: channel 0: open confirm rwindow 0 rmax 32768
debug1: channel_free: channel 0: client-session, nchannels 1
debug3: channel_free: status: The following connections are open:\015
#0 client-session (t4 r0 i0/0 o0/0 fd 6/7)\015
debug3: channel_close_fds: channel 0: r 6 w 7 e 8
Connection to banach closed by remote host.
Connection to banach closed.
debug1: Transferred: stdin 0, stdout 0, stderr 75 bytes in 0.1 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 1321.9
debug1: Exit status -1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 04:33 AM
12-22-2003 04:33 AM
Re: ssh 3.6.1 connection closed by remote host
goto /opt/ssh
There is directory called src uner /opt/ssh. (This source code for ssh.)
If I remeber correctly, there is a file like error.c or something similar.
This lists all error codes.
Check the error code and error description.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 05:56 AM
12-22-2003 05:56 AM
Re: ssh 3.6.1 connection closed by remote host
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 06:03 AM
12-22-2003 06:03 AM
Re: ssh 3.6.1 connection closed by remote host
Check
UsePrivilegeSeparation no
in sshd_config file. and restart.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 06:03 AM
12-22-2003 06:03 AM
Re: ssh 3.6.1 connection closed by remote host
Check
UsePrivilegeSeparation no
in sshd_config file. and restart.
No points.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 07:20 AM
12-22-2003 07:20 AM
Re: ssh 3.6.1 connection closed by remote host
The email by RAC: Set
UsePrivilegeSeparation no
in sshd_config file. and restart.
fixes the problem. It still does not explain why I have to make this change to the configuration file on some machines but not others (all running HPUX 11.0).
Does this setting have any security implications?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 07:43 AM
12-22-2003 07:43 AM
Re: ssh 3.6.1 connection closed by remote host
It has security implications.
http://www.securityfocus.com/advisories/4242
and CERT:
http://www.cert.org/advisories/CA-2003-24.html
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 07:17 PM
12-22-2003 07:17 PM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2003 03:35 AM
12-23-2003 03:35 AM
Re: ssh 3.6.1 connection closed by remote host
One lead I was pursuing involved using the sec_mgmt software to find out what patches were different on the maching that worked and the ones that did not. I found that the patch PHNE_28312 (inetd(1M) cumulative) was needed. This fixed the problem so I now can leave the priveledge separation on.
On a different system (11.22), I needed to install a new version of PAM to fix a slightly different problem. It did not allow a connection at all.
The problem is solved. Thanks to everyone for their time and help!