- Community Home
- >
- Software
- >
- HPE Ezmeral Software platform
- >
- ssh into deployed cent container failed.
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
01-12-2023 06:09 AM - last edited on 01-16-2023 04:10 AM by support_s
01-12-2023 06:09 AM - last edited on 01-16-2023 04:10 AM by support_s
ssh into deployed cent container failed.
Hello all
I deployed CentOS(HPE provided default template image installed on Ezmeral MLOPS tenant),
and tried to ssh into CentOS application using dev1 user , but failed.
k8suser@kdss-ncf9z-0:~$ ssh dev1@jsgateway.mapr.local -p 10021
The authenticity of host '[jsgateway.mapr.local]:10021 ([192.168.100.152]:10021)' can't be established.
ECDSA key fingerprint is SHA256:7GrrtSHpB9rBxzr4seKKZPXH94X462l26+ZtkgaPrcQ.
ECDSA key fingerprint is MD5:63:6f:36:99:dd:d1:2e:b5:79:cb:c1:de:37:fc:01:59.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[jsgateway.mapr.local]:10021,[192.168.100.152]:10021' (ECDSA) to the list of known hosts.
dev1@jsgateway.mapr.local's password:
Authentication failed.
k8suser@kdss-ncf9z-0:~$
I know logging into ssh container via kubectl exec,
but it's better make it for normal user to be able to login into ssh container.
Would anybody help what can I do check further ?
just f.y.i.,
When Tenant admin created jupyter notebook, and assigned dev1 as same Tenant member,
then dev1 user could login into jupyter notebook using LDAP password without any problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2023 01:07 AM
01-17-2023 01:07 AM
Re: ssh into deployed cent container failed.
Hi Shyang,
If the Kubernetes container is running the SSHD service, then you may use an SSH client to log in normally. The following considerations apply to this method:
- Automatic LDAP/AD integration is not provided for Kubernetes containers. To SSH into a container, you must therefore know of a valid user account within that container and know the login password for that account.
- The port for the SSHD service must be exposed through a Kubernetes service. For access from outside the Kubernetes cluster, this should be a NodePort service that is mapped to a port on a Gateway host. You can then use an external SSH client to connect to that port on the Gateway host.
Refer the link for additional information and details on the port requirements: https://docs.containerplatform.hpe.com/55/reference/accessing-the-applications/Accessing_Kubernetes_Containers.html?hl=sshd
On SSHD serivce check this link https://docs.containerplatform.hpe.com/55/reference/system-requirements/general/Configuration_Requirements.html#v52_configuration-requirements__sshd (please check note as well in this section)
For Non-Kubernetes Container Access (LDAP/AD) refer link: https://support.hpe.com/hpesc/public/docDisplay?docId=a00ecp54hen_us&page=reference/accessing-the-applications/NonKubernetes_Container_Access_LDAPAD.html
Hope this would help you to get ssh access.
I work for HPE