Container remote login method and system

The invention discloses a container remote login method, which realizes remote login of a container by establishing a reverse tunnel between an ssh server and an ssh service agent end in the container and forwarding a login request of a user by the ssh service agent end to ensure operation in differ...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: WEN DONGSHU, DENG ZIQI, FENG MUYUE, WANG YU, ZHANG ZHONGHUI, ZHAO BEINING, LI QUANHENG, ZHANG LIN, YE AIPING
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a container remote login method, which realizes remote login of a container by establishing a reverse tunnel between an ssh server and an ssh service agent end in the container and forwarding a login request of a user by the ssh service agent end to ensure operation in different network modes through the reverse tunnel. The physical port of the physical machine for deploying the container does not need to be occupied, so that the problems of occupation and conflict of the same port caused by deploying a plurality of containers on the same physical machine can be solved; meanwhile, the connection established through the reverse tunnel can solve the problem that the interior of the container can only be connected to the outside and cannot be connected from the outside due to configuration of firewall rules and the like; in addition, the method realizes double identity authentication, authority control and post-auditing of the user request, guarantees the safety of remote login of the con