Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the SSH command line to remotely log in to the application running on CloudFoundry

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

Today, I will talk to you about how to use the SSH command line to remotely log in and run applications on CloudFoundry. Many people may not know much about it. In order to make you understand better, the editor has summarized the following for you. I hope you can get something according to this article.

When I try to remotely log in to an application running in a CloudFoundry environment using SSH using the following command line

Cf ssh-N-T-L 9229 jerry-demo-server 127.0.0.1

Encountered this error message:

Ssh: unable to authenticate, attempted methods [none password], no supported methods remain

Https://stackoverflow.com/questions/47102080/ssh-in-go-unable-to-authenticate-attempted-methods-none-no-supported-method

Https://pvtl.force.com/s/article/SSH-to-a-Container-Fails-with-ssh-handshake-failed-Error-Message

Use the command line to view the ssh-enabled flag bits of my application:

Cf ssh-enabled jerry-demo-server

Found to be in the disabled state:

So turn on this flag bit with the command line:

Cf enable-ssh jerry-demo-server

Cf ssh-enabled jerry-demo-server

Cf enable-ssh jerry-demo-server

Then restart the application:

Problem solved.

After reading the above, do you have any further understanding of how to use the SSH command line to remotely log in to applications running on CloudFoundry? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report