- Community Home
- >
- Servers and Operating Systems
- >
- HPE BladeSystem
- >
- BladeSystem - General
- >
- Re: How to enable ssh on HP 6125G switch
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
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
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-22-2014 07:58 AM
04-22-2014 07:58 AM
How to enable ssh on HP 6125G switch
HI,
I'm trying to enable ssh and use it uinstead of telnet to access HP 6125G blade switch.
Here's my configuration:
local-user admin
password cipher $c$....
authorization-attribute level 3
service-type ssh telnet
service-type web
...
ssh server enable
ssh user admin service-type all authentication-type password
...
Every ssh attempt ends up with following:
ssh_exchange_identification: Connection closed by remote host
What's wrong with my configuration?
- Tags:
- ssh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2014 12:01 PM
04-22-2014 12:01 PM
Re: How to enable ssh on HP 6125G switch
check this PDF file, I think it can help you:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2014 12:40 PM - edited 04-22-2014 12:54 PM
04-22-2014 12:40 PM - edited 04-22-2014 12:54 PM
Re: How to enable ssh on HP 6125G switch
I know this document, I followed all mandatory (non "Optional") steps from "Configuring the SSH server on the device" procedure. Still the same: "ssh_exchange_identification: Connection closed by remote host".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2014 10:05 PM
04-22-2014 10:05 PM
Re: How to enable ssh on HP 6125G switch
>What's wrong with my configuration?
Can you invoke ssh with -vvv?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2014 11:52 PM
04-22-2014 11:52 PM
Re: How to enable ssh on HP 6125G switch
$ ssh -vvv test@x.x.x.x
OpenSSH_5.5p1 Debian-6+squeeze4, OpenSSL 0.9.8o 01 Jun 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to x.x.x.x [x.x.x.x] port 22.
debug1: Connection established.
debug3: Not a RSA1 key file /home/xxx/.ssh/id_rsa.
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type '-----END'
debug3: key_read: missing keytype
debug1: identity file /home/xxx/.ssh/id_rsa type 1
debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
debug1: identity file /home/xxx/.ssh/id_rsa-cert type -1
debug1: identity file /home/xxx/.ssh/id_dsa type -1
debug1: identity file /home/xxx/.ssh/id_dsa-cert type -1
ssh_exchange_identification: Connection closed by remote host
Note that SSH clients works perfectly with other ssh hosts. Only that switch is problematic.
The same happens when I'm trying to enfoirce password authentication with ssh -vvv -o "PubkeyAuthentication no".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2014 09:36 AM
04-23-2014 09:36 AM
Re: How to enable ssh on HP 6125G switch
>debug3: Not a RSA1 key file /home/xxx/.ssh/id_rsa.
I'm not sure if this is important. Is this a RSA key?
>ssh_exchange_identification: Connection closed by remote host
It seems the server just disconnects before anything can be sent.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2014 04:01 AM
04-24-2014 04:01 AM
Re: How to enable ssh on HP 6125G switch
> Is this a RSA key?
This key is accepted by another Linux machines, I assume it's OK. Also, when I'm trying to connect via ssh from the switch itself, it's interrupted immediately.
Definitely somethin's wrong with ssh server configuration on the blade switch.
Is anybody using it on 6125G?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2015 07:32 PM
02-01-2015 07:32 PM
Re: How to enable ssh on HP 6125G switch
Hi,
Any solution to problem posted by you....i am facing the same issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2015 02:05 PM - edited 03-19-2015 02:19 PM
03-19-2015 02:05 PM - edited 03-19-2015 02:19 PM
Re: How to enable ssh on HP 6125G switch
don't forget to generate the dsa key on the switch, and the vty access:
[switch] public-key local create dsa
[switch] user-interface vty 0
[switch-ui-vty0] ]authentication-mode scheme