SlideShare una empresa de Scribd logo
1 de 3
Basic Flow Connecting via SSH/SFTP to Bluemix Runtime
Choose
which
Bluemix
Runtime to
connect to
Get Bluemix
Endpoint for
Runtime
Get Bluemix
Runtime
GUID
Compose
Bluemix SSH
User Id from
GUID
Generate
Cloud
Foundry OTP
Login to
Bluemix
Cloud
Foundry
Apps via SSH
cf apps cf curl /v2/info cf app appname --guid SSH User = cf:guid/0 cf ssh-code
ssh -p 2222
cf:guid/0@ssh.ng.blue
mix.net
sftp -oPort=2222
cf:guid/0@ssh.ng.blue
mix.net
https://docs.cloudfoundry.org/devguide/deploy-apps/ssh-apps.html?cm_mc_uid=28333818791014916434153&cm_mc_sid_50200000=1492112300
[root@webdev html]# cf app mywebapp --guid
3ad80085-9e51-4cd6-87b7-b453dd78ea46
[root@webdev html]# cf curl /v2/info
{
"name": "Bluemix",
"build": "235018",
"support": "http://ibm.biz/bluemix-supportinfo",
"version": 0,
"description": "IBM Bluemix",
"authorization_endpoint": "https://login.ng.bluemix.net/UAALoginServerWAR",
"token_endpoint": "https://uaa.ng.bluemix.net",
"min_cli_version": null,
"min_recommended_cli_version": null,
"api_version": "2.54.0",
"app_ssh_endpoint": "ssh.ng.bluemix.net:2222",
"app_ssh_host_key_fingerprint": "c7:1f:89:2a:62:3b:78:a9:08:c9:33:81:fb:39:26:da",
"app_ssh_oauth_client": "ssh-proxy",
"logging_endpoint": "wss://loggregator.ng.bluemix.net:443",
"doppler_logging_endpoint": "wss://doppler.ng.bluemix.net:443",
"user": "07f3910b-c61b-412c-9175-a4152f3da4b3"
}
[root@webdev html]# cf ssh-code
MdjID9
[root@webdev html]# ssh -p 2222 cf:3ad80085-9e51-4cd6-87b7-b453dd78ea46/0@ssh.ng.bluemix.net
The authenticity of host '[ssh.ng.bluemix.net]:2222 ([158.85.156.18]:2222)' can't be established.
RSA key fingerprint is c7:1f:89:2a:62:3b:78:a9:08:c9:33:81:fb:39:26:da.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[ssh.ng.bluemix.net]:2222,[158.85.156.18]:2222' (RSA) to the list of known hosts.
cf:3ad80085-9e51-4cd6-87b7-b45@ssh.ng.bluemix.net's password:
vcap@e898f8a7-0769-41ca-7023-b349375acc7d:~$ pwd
/home/vcap
vcap@e898f8a7-0769-41ca-7023-b349375acc7d:~$ uname -rsvna
Linux e898f8a7-0769-41ca-7023-b349375acc7d 4.4.0-45-generic #66~14.04.1-Ubuntu SMP Wed Oct 19 15:05:38 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
vcap@e898f8a7-0769-41ca-7023-b349375acc7d:~$ exit
SSH to Bluemix Runtime Container
[root@webdev html]# cf ssh-code
8XE4jy
[root@webdev html]# sftp -oPort=2222 cf:3ad80085-9e51-4cd6-87b7-b453dd78ea46/0@ssh.ng.bluemix.net
Connecting to ssh.ng.bluemix.net...
cf:3ad80085-9e51-4cd6-87b7-b45@ssh.ng.bluemix.net's password:
sftp> pwd
Remote working directory: /home/vcap
sftp> ls -lart
/home/vcap/.bash_logout
/home/vcap/.profile
/home/vcap/.bashrc
/home/vcap/staging_info.yml
/home/vcap/logs
/home/vcap/app
/home/vcap/.bash_history
/home/vcap/tmp
sftp> exit
SFTP to Bluemix Runtime Container

Más contenido relacionado

Similar a Ssh to Bluemix runtime container

Cloud focker を試してみた public
Cloud focker を試してみた   publicCloud focker を試してみた   public
Cloud focker を試してみた public
Takehiko Amano
 
Chris Swan ONUG Academy - Container Networks Tutorial
Chris Swan ONUG Academy - Container Networks TutorialChris Swan ONUG Academy - Container Networks Tutorial
Chris Swan ONUG Academy - Container Networks Tutorial
Cohesive Networks
 
Presentation iv implementasi 802x eap tls peap mscha pv2
Presentation iv implementasi  802x eap tls peap mscha pv2Presentation iv implementasi  802x eap tls peap mscha pv2
Presentation iv implementasi 802x eap tls peap mscha pv2
Hell19
 

Similar a Ssh to Bluemix runtime container (20)

DevFest 2022 - Cloud Workstation Introduction TaiChung
DevFest 2022 - Cloud Workstation Introduction TaiChungDevFest 2022 - Cloud Workstation Introduction TaiChung
DevFest 2022 - Cloud Workstation Introduction TaiChung
 
Build resource server & client for OCF Cloud (2018.8.30)
Build resource server & client for OCF Cloud (2018.8.30)Build resource server & client for OCF Cloud (2018.8.30)
Build resource server & client for OCF Cloud (2018.8.30)
 
Docker summit 2015: 以 Docker Swarm 打造多主機叢集環境
Docker summit 2015: 以 Docker Swarm 打造多主機叢集環境Docker summit 2015: 以 Docker Swarm 打造多主機叢集環境
Docker summit 2015: 以 Docker Swarm 打造多主機叢集環境
 
Docker Registry + Basic Auth
Docker Registry + Basic AuthDocker Registry + Basic Auth
Docker Registry + Basic Auth
 
Cloud focker を試してみた public
Cloud focker を試してみた   publicCloud focker を試してみた   public
Cloud focker を試してみた public
 
Scaling Next-Generation Internet TV on AWS With Docker, Packer, and Chef
Scaling Next-Generation Internet TV on AWS With Docker, Packer, and ChefScaling Next-Generation Internet TV on AWS With Docker, Packer, and Chef
Scaling Next-Generation Internet TV on AWS With Docker, Packer, and Chef
 
Symfony2 for Midgard Developers
Symfony2 for Midgard DevelopersSymfony2 for Midgard Developers
Symfony2 for Midgard Developers
 
Cloud Foundry Day in Tokyo Lightning Talk - Cloud Foundry over the Proxy
Cloud Foundry Day in Tokyo Lightning Talk - Cloud Foundry over the ProxyCloud Foundry Day in Tokyo Lightning Talk - Cloud Foundry over the Proxy
Cloud Foundry Day in Tokyo Lightning Talk - Cloud Foundry over the Proxy
 
Microservices with docker swarm and consul
Microservices with docker swarm and consulMicroservices with docker swarm and consul
Microservices with docker swarm and consul
 
FOSS STHLM Android Cloud to Device Messaging
FOSS STHLM Android Cloud to Device MessagingFOSS STHLM Android Cloud to Device Messaging
FOSS STHLM Android Cloud to Device Messaging
 
Introduction to IBM Bluemix
Introduction to IBM BluemixIntroduction to IBM Bluemix
Introduction to IBM Bluemix
 
Chris Swan ONUG Academy - Container Networks Tutorial
Chris Swan ONUG Academy - Container Networks TutorialChris Swan ONUG Academy - Container Networks Tutorial
Chris Swan ONUG Academy - Container Networks Tutorial
 
Running Docker in Development & Production (#ndcoslo 2015)
Running Docker in Development & Production (#ndcoslo 2015)Running Docker in Development & Production (#ndcoslo 2015)
Running Docker in Development & Production (#ndcoslo 2015)
 
Betabeers Android as a Digital Signage platform
Betabeers   Android as a Digital Signage platformBetabeers   Android as a Digital Signage platform
Betabeers Android as a Digital Signage platform
 
GE Predix 新手入门 赵锴 物联网_IoT
GE Predix 新手入门 赵锴 物联网_IoTGE Predix 新手入门 赵锴 物联网_IoT
GE Predix 新手入门 赵锴 物联网_IoT
 
GDGSCL - Docker a jeho provoz v Heroku a AWS
GDGSCL - Docker a jeho provoz v Heroku a AWSGDGSCL - Docker a jeho provoz v Heroku a AWS
GDGSCL - Docker a jeho provoz v Heroku a AWS
 
Presentation iv implementasi 802x eap tls peap mscha pv2
Presentation iv implementasi  802x eap tls peap mscha pv2Presentation iv implementasi  802x eap tls peap mscha pv2
Presentation iv implementasi 802x eap tls peap mscha pv2
 
Simple docker hosting in FIWARE Lab
Simple docker hosting in FIWARE LabSimple docker hosting in FIWARE Lab
Simple docker hosting in FIWARE Lab
 
Docker in Production: Reality, Not Hype
Docker in Production: Reality, Not HypeDocker in Production: Reality, Not Hype
Docker in Production: Reality, Not Hype
 
ДМИТРО БУДИМ «Mobile Automation Infrastructure from scratch» Online QADay 202...
ДМИТРО БУДИМ «Mobile Automation Infrastructure from scratch» Online QADay 202...ДМИТРО БУДИМ «Mobile Automation Infrastructure from scratch» Online QADay 202...
ДМИТРО БУДИМ «Mobile Automation Infrastructure from scratch» Online QADay 202...
 

Más de Nugroho Gito

Más de Nugroho Gito (8)

RHCSA EX200 - Summary
RHCSA EX200 - SummaryRHCSA EX200 - Summary
RHCSA EX200 - Summary
 
Card payment evolution v1.0
Card payment evolution v1.0Card payment evolution v1.0
Card payment evolution v1.0
 
IT Architect Profession
IT Architect ProfessionIT Architect Profession
IT Architect Profession
 
Ethereum Mining How To
Ethereum Mining How ToEthereum Mining How To
Ethereum Mining How To
 
Mobile Enterprise Application Platform
Mobile Enterprise Application PlatformMobile Enterprise Application Platform
Mobile Enterprise Application Platform
 
Linux Survival Kit for Proof of Concept & Proof of Technology
Linux Survival Kit for Proof of Concept & Proof of TechnologyLinux Survival Kit for Proof of Concept & Proof of Technology
Linux Survival Kit for Proof of Concept & Proof of Technology
 
IBM Watson & Cognitive Computing - Tech In Asia 2016
IBM Watson & Cognitive Computing - Tech In Asia 2016IBM Watson & Cognitive Computing - Tech In Asia 2016
IBM Watson & Cognitive Computing - Tech In Asia 2016
 
Parental Control, Internet Safety, Safe Internet for Children
Parental Control, Internet Safety, Safe Internet for ChildrenParental Control, Internet Safety, Safe Internet for Children
Parental Control, Internet Safety, Safe Internet for Children
 

Último

%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
masabamasaba
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 

Último (20)

%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 

Ssh to Bluemix runtime container

  • 1. Basic Flow Connecting via SSH/SFTP to Bluemix Runtime Choose which Bluemix Runtime to connect to Get Bluemix Endpoint for Runtime Get Bluemix Runtime GUID Compose Bluemix SSH User Id from GUID Generate Cloud Foundry OTP Login to Bluemix Cloud Foundry Apps via SSH cf apps cf curl /v2/info cf app appname --guid SSH User = cf:guid/0 cf ssh-code ssh -p 2222 cf:guid/0@ssh.ng.blue mix.net sftp -oPort=2222 cf:guid/0@ssh.ng.blue mix.net https://docs.cloudfoundry.org/devguide/deploy-apps/ssh-apps.html?cm_mc_uid=28333818791014916434153&cm_mc_sid_50200000=1492112300
  • 2. [root@webdev html]# cf app mywebapp --guid 3ad80085-9e51-4cd6-87b7-b453dd78ea46 [root@webdev html]# cf curl /v2/info { "name": "Bluemix", "build": "235018", "support": "http://ibm.biz/bluemix-supportinfo", "version": 0, "description": "IBM Bluemix", "authorization_endpoint": "https://login.ng.bluemix.net/UAALoginServerWAR", "token_endpoint": "https://uaa.ng.bluemix.net", "min_cli_version": null, "min_recommended_cli_version": null, "api_version": "2.54.0", "app_ssh_endpoint": "ssh.ng.bluemix.net:2222", "app_ssh_host_key_fingerprint": "c7:1f:89:2a:62:3b:78:a9:08:c9:33:81:fb:39:26:da", "app_ssh_oauth_client": "ssh-proxy", "logging_endpoint": "wss://loggregator.ng.bluemix.net:443", "doppler_logging_endpoint": "wss://doppler.ng.bluemix.net:443", "user": "07f3910b-c61b-412c-9175-a4152f3da4b3" } [root@webdev html]# cf ssh-code MdjID9 [root@webdev html]# ssh -p 2222 cf:3ad80085-9e51-4cd6-87b7-b453dd78ea46/0@ssh.ng.bluemix.net The authenticity of host '[ssh.ng.bluemix.net]:2222 ([158.85.156.18]:2222)' can't be established. RSA key fingerprint is c7:1f:89:2a:62:3b:78:a9:08:c9:33:81:fb:39:26:da. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '[ssh.ng.bluemix.net]:2222,[158.85.156.18]:2222' (RSA) to the list of known hosts. cf:3ad80085-9e51-4cd6-87b7-b45@ssh.ng.bluemix.net's password: vcap@e898f8a7-0769-41ca-7023-b349375acc7d:~$ pwd /home/vcap vcap@e898f8a7-0769-41ca-7023-b349375acc7d:~$ uname -rsvna Linux e898f8a7-0769-41ca-7023-b349375acc7d 4.4.0-45-generic #66~14.04.1-Ubuntu SMP Wed Oct 19 15:05:38 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux vcap@e898f8a7-0769-41ca-7023-b349375acc7d:~$ exit SSH to Bluemix Runtime Container
  • 3. [root@webdev html]# cf ssh-code 8XE4jy [root@webdev html]# sftp -oPort=2222 cf:3ad80085-9e51-4cd6-87b7-b453dd78ea46/0@ssh.ng.bluemix.net Connecting to ssh.ng.bluemix.net... cf:3ad80085-9e51-4cd6-87b7-b45@ssh.ng.bluemix.net's password: sftp> pwd Remote working directory: /home/vcap sftp> ls -lart /home/vcap/.bash_logout /home/vcap/.profile /home/vcap/.bashrc /home/vcap/staging_info.yml /home/vcap/logs /home/vcap/app /home/vcap/.bash_history /home/vcap/tmp sftp> exit SFTP to Bluemix Runtime Container