# US 2018/0324167 A1 · Secure access to virtual machines in heterogenous cloud environments

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2018/0324167 A1
- Document ID: US20180324167A1
- Status: Published application
- Kind: A1
- Application number: 16/032,572
- Filed: 2018-07-11
- Published: 2018-11-08
- Earliest claimed: 2015-07-20
- Assignees: Cisco Technology, Inc.
- Applicants: Cisco Technology, Inc.
- Inventors: Jaiganesh Mathaiyan; Subramanian Chandrasekaran; Madhav Madhavshree
- Web page: https://patentgrep.com/patent/US20180324167A1

## CPC

- H04L 63/08: {for authentication of entities (cryptographic mechanisms or cryptographic arrangements for entity authentication H04L9/32)}
- G06F 9/4856: {resumption being on a different machine, e.g. task migration, virtual machine migration (G06F9/5088 takes precedence)}
- G06F 9/5072: {Grid computing}
- G06F 21/44: Program or device authentication
- H04L 9/0891: {Revocation or update of secret information, e.g. encryption key update or rekeying}
- H04L 9/3271: {using challenge-response}
- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- H04L 63/0815: {providing single-sign-on or federations}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems, methods, and computer-readable media provide for secure access to virtual machines in heterogeneous cloud environments. In an example embodiment, client credentials, such as a public key of a public-private key pair, are provided to a virtual machine in a first cloud, such as a private cloud. The virtual machine can be migrated from the first cloud to a second cloud, such as one of a plurality of heterogeneous public clouds. The virtual machine in the second cloud can be accessed from the first cloud via Secure Shell (SSH) authentication using the client credentials. The client credentials can be updated, and the updated client credentials can be used for subsequent SSH access to the virtual machine in the second cloud.

## Claims

### Claim 1

A method comprising:
generating a first public-private key pair including a first public key and a first private key;
inserting the first public key into a virtual machine in a first cloud;
migrating the virtual machine from the first cloud to a second cloud;
accessing the virtual machine in the second cloud for a first time based at least in part on first encrypted data encrypted using the first private key, the virtual machine providing access based at least in part on a first decryption of the first encrypted data using the first public key to generate first unencrypted data and a first comparison of the first unencrypted data to first data;
generating a second public-private key pair including a second public key and a second private key;
replacing the first public key in the virtual machine in the second cloud with the second public key; and
accessing the virtual machine in the second cloud for a second time based at least in part on second encrypted data encrypted using the second private key, the virtual machine providing access based at least in part on a second decryption of the second encrypted data using the second public key to generate second unencrypted data and a second comparison of the second unencrypted data to second data.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
generating a third public-private key pair including a third public key and a third private key;
inserting the third public key and the third private key into the virtual machine in the first cloud;
storing, in a database, first information associating the third public key or a first fingerprint of the third public key to the virtual machine;
receiving, at the first cloud, the third public key or the first fingerprint from the virtual machine in the second cloud; and
authenticating, at the first cloud, the virtual machine in the second cloud based at least in part on matching the third public key or the first fingerprint received from the virtual machine in the second cloud to a portion of the first information.

### Claim 3 (depends on 2)

The method of claim 2, wherein the authenticating comprises matching one or more first server credentials to a portion of the first information.

### Claim 4 (depends on 2)

The method of claim 2, further comprising:
generating a fourth public-private key pair including a fourth public key and a fourth private key;
replacing the third public key in the virtual machine in the second cloud with the fourth public key and the third private key in the virtual machine in the second cloud with the fourth private key;
storing, in the database, second information associating the fourth public key or a second fingerprint of the fourth public key to the virtual machine;
receiving, at the first cloud, the fourth public key or the second fingerprint from the virtual machine in the second cloud; and
authenticating, from the first cloud, the virtual machine in the second cloud based at least in part on matching the fourth public key received from the virtual machine in the second cloud to a portion of the second information.

### Claim 5 (depends on 1)

The method of claim 1, wherein accessing the virtual machine in the second cloud for the first time comprises:
encrypting first data using the first private key to generate first encrypted data; and
sending the first encrypted data to the virtual machine in the second cloud,
wherein first access to the virtual machine in the second cloud for the first time is based at least in part on a first decryption of the first encrypted data using the first public key to generate first unencrypted data and a first comparison of the first unencrypted data to the first data.

### Claim 6 (depends on 1)

The method of claim 1, wherein the access to the virtual machine in the second cloud for the second time is based at least in part on a second decryption of the second encrypted data using the second public key to generate second unencrypted data and a second comparison of the second unencrypted data to the second data.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
installing a secure tunnel driver in the virtual machine in the first cloud;
wherein the secure tunnel driver enables a secure tunnel to be established to connect the virtual machine in the second cloud to a cloud gateway of the second cloud.

### Claim 8

A system comprising:
one or more processors; and
memory including instructions that, upon being executed by the one or more processors, cause the system to perform operations comprising:
generating a first public-private key pair including a first public key and a first private key;
inserting the first public key into a virtual machine in a first cloud;
migrating the virtual machine from the first cloud to a second cloud;
accessing the virtual machine in the second cloud for a first time based at least in part on first encrypted data encrypted using the first private key, the virtual machine providing access based at least in part on a first decryption of the first encrypted data using the first public key to generate first unencrypted data and a first comparison of the first unencrypted data to first data;
generating a second public-private key pair including a second public key and a second private key;
replacing the first public key in the virtual machine in the second cloud with the second public key; and
accessing the virtual machine in the second cloud for a second time based at least in part on second encrypted data encrypted using the second private key, the virtual machine providing access based at least in part on a second decryption of the second encrypted data using the second public key to generate second unencrypted data and a second comparison of the second unencrypted data to second data.

### Claim 9 (depends on 8)

The system of claim 8, further comprising:
generating a third public-private key pair including a third public key and a third private key;
inserting the third public key and the third private key into the virtual machine in the first cloud;
storing, in a database, first information associating the third public key or a first fingerprint of the third public key to the virtual machine;
receiving, at the first cloud, the third public key or the first fingerprint from the virtual machine in the second cloud; and
authenticating, at the first cloud, the virtual machine in the second cloud based at least in part on matching the third public key or the first fingerprint received from the virtual machine in the second cloud to a portion of the first information.

### Claim 10 (depends on 9)

The system of claim 9, wherein the authenticating comprises matching one or more first server credentials to a portion of the first information.

### Claim 11 (depends on 9)

The system of claim 9, further comprising:
generating a fourth public-private key pair including a fourth public key and a fourth private key;
replacing the third public key in the virtual machine in the second cloud with the fourth public key and the third private key in the virtual machine in the second cloud with the fourth private key;
storing, in the database, second information associating the fourth public key or a second fingerprint of the fourth public key to the virtual machine;
receiving, at the first cloud, the fourth public key or the second fingerprint from the virtual machine in the second cloud; and
authenticating, from the first cloud, the virtual machine in the second cloud based at least in part on matching the fourth public key received from the virtual machine in the second cloud to a portion of the second information.

### Claim 12 (depends on 8)

The system of claim 8, wherein accessing the virtual machine in the second cloud for the first time comprises:
encrypting first data using the first private key to generate first encrypted data; and
sending the first encrypted data to the virtual machine in the second cloud,
wherein first access to the virtual machine in the second cloud for the first time is based at least in part on a first decryption of the first encrypted data using the first public key to generate first unencrypted data and a first comparison of the first unencrypted data to the first data.

### Claim 13 (depends on 8)

The system of claim 8, wherein the access to the virtual machine in the second cloud for the second time is based at least in part on a second decryption of the second encrypted data using the second public key to generate second unencrypted data and a second comparison of the second unencrypted data to the second data.

### Claim 14 (depends on 8)

The system of claim 8, further comprising:
installing a secure tunnel driver in the virtual machine in the first cloud;
wherein the secure tunnel driver enables a secure tunnel to be established to connect the virtual machine in the second cloud to a cloud gateway of the second cloud.

### Claim 15

A non-transitory computer-readable storage medium having stored therein instructions that, upon being executed by a processor, cause the processor to perform operations comprising:
generating a first public-private key pair including a first public key and a first private key;
inserting the first public key into a virtual machine in a first cloud;
migrating the virtual machine from the first cloud to a second cloud;
accessing the virtual machine in the second cloud for a first time based at least in part on first encrypted data encrypted using the first private key, the virtual machine providing access based at least in part on a first decryption of the first encrypted data using the first public key to generate first unencrypted data and a first comparison of the first unencrypted data to first data;
generating a second public-private key pair including a second public key and a second private key;
replacing the first public key in the virtual machine in the second cloud with the second public key; and
accessing the virtual machine in the second cloud for a second time based at least in part on second encrypted data encrypted using the second private key, the virtual machine providing access based at least in part on a second decryption of the second encrypted data using the second public key to generate second unencrypted data and a second comparison of the second unencrypted data to second data.

### Claim 16 (depends on 15)

The medium of claim 15, the operations further comprising:
generating a third public-private key pair including a third public key and a third private key;
inserting the third public key and the third private key into the virtual machine in the first cloud;
storing, in a database, first information associating the third public key or a first fingerprint of the third public key to the virtual machine;
receiving, at the first cloud, the third public key or the first fingerprint from the virtual machine in the second cloud; and
authenticating, at the first cloud, the virtual machine in the second cloud based at least in part on matching the third public key or the first fingerprint received from the virtual machine in the second cloud to a portion of the first information.

### Claim 17 (depends on 16)

The medium of claim 16, wherein the authenticating comprises matching one or more first server credentials to a portion of the first information.

### Claim 18 (depends on 16)

The medium of claim 16, operations further comprising:
generating a fourth public-private key pair including a fourth public key and a fourth private key;
replacing the third public key in the virtual machine in the second cloud with the fourth public key and the third private key in the virtual machine in the second cloud with the fourth private key;
storing, in the database, second information associating the fourth public key or a second fingerprint of the fourth public key to the virtual machine;
receiving, at the first cloud, the fourth public key or the second fingerprint from the virtual machine in the second cloud; and
authenticating, from the first cloud, the virtual machine in the second cloud based at least in part on matching the fourth public key received from the virtual machine in the second cloud to a portion of the second information.

### Claim 19 (depends on 15)

The medium of claim 15, wherein accessing the virtual machine in the second cloud for the first time comprises:
encrypting first data using the first private key to generate first encrypted data; and
sending the first encrypted data to the virtual machine in the second cloud,
wherein first access to the virtual machine in the second cloud for the first time is based at least in part on a first decryption of the first encrypted data using the first public key to generate first unencrypted data and a first comparison of the first unencrypted data to the first data.

### Claim 20 (depends on 15)

The medium of claim 15, wherein the access to the virtual machine in the second cloud for the second time is based at least in part on a second decryption of the second encrypted data using the second public key to generate second unencrypted data and a second comparison of the second unencrypted data to the second data.
