2017-10-26 1 views
1

Wir haben Ansible für die Bereitstellung verwendet. Wenn ich mich beim Server eintrage geben Sie den Typ last Befehl ein, es zeigt zu viele Logins an, warum gibt es so viele Logins?Ansible für viele ssh Login

deployer pts/0  ip-10-0-0-xxx.ap Tue Oct 3 08:54 - 08:54 (00:00)  
deployer pts/0  ip-10-0-0-xxx.ap Tue Oct 3 08:54 - 08:54 (00:00)  
deployer pts/0  ip-10-0-0-xxx.ap Tue Oct 3 08:54 - 08:54 (00:00)  
deployer pts/0  ip-10-0-0-xxx.ap Tue Oct 3 08:54 - 08:54 (00:00)  
deployer pts/0  ip-10-0-0-xxx.ap Tue Oct 3 08:54 - 08:54 (00:00)  
deployer pts/0  ip-10-0-0-xxx.ap Tue Oct 3 08:54 - 08:54 (00:00)  
deployer pts/0  ip-10-0-0-xxx.ap Tue Oct 3 08:54 - 08:54 (00:00)  
deployer pts/0  ip-10-0-0-xxx.ap Tue Oct 3 08:54 - 08:54 (00:00)  
deployer pts/0  ip-10-0-0-xxx.ap Tue Oct 3 08:54 - 08:54 (00:00)  
deployer pts/0  ip-10-0-0-xxx.ap Tue Oct 3 08:54 - 08:54 (00:00)  
deployer pts/0  ip-10-0-0-xxx.ap Tue Oct 3 08:54 - 08:54 (00:00)  
deployer pts/0  ip-10-0-0-xxx.ap Tue Oct 3 08:54 - 08:54 (00:00)  
deployer pts/0  ip-10-0-0-xxx.ap Tue Oct 3 08:54 - 08:54 (00:00)  
deployer pts/0  ip-10-0-0-xxx.ap Tue Oct 3 08:54 - 08:54 (00:00)  
deployer pts/0  ip-10-0-0-xxx.ap Tue Oct 3 08:54 - 08:54 (00:00)  
deployer pts/0  ip-10-0-0-xxx.ap Tue Oct 3 08:54 - 08:54 (00:00)  
deployer pts/0  ip-10-0-0-xxx.ap Tue Oct 3 08:54 - 08:54 (00:00)  
deployer pts/0  ip-10-0-0-xxx.ap Tue Oct 3 08:54 - 08:54 (00:00)  
deployer pts/0  ip-10-0-0-xxx.ap Tue Oct 3 08:54 - 08:54 (00:00)  
deployer pts/0  ip-10-0-0-xxx.ap Tue Oct 3 08:54 - 08:54 (00:00)  
deployer pts/0  ip-10-0-0-xxx.ap Tue Oct 3 08:54 - 08:54 (00:00)  
deployer pts/0  ip-10-0-0-xxx.ap Tue Oct 3 08:54 - 08:54 (00:00)  
deployer pts/0  ip-10-0-0-xxx.ap Tue Oct 3 08:54 - 08:54 (00:00)  
deployer pts/0  ip-10-0-0-xxx.ap Tue Oct 3 08:54 - 08:54 (00:00)  
deployer pts/0  ip-10-0-0-xxx.ap Tue Oct 3 08:54 - 08:54 (00:00)  
deployer pts/0  ip-10-0-0-xxx.ap Tue Oct 3 08:54 - 08:54 (00:00)  
deployer pts/0  ip-10-0-0-xxx.ap Tue Oct 3 08:54 - 08:54 (00:00)  
deployer pts/0  ip-10-0-0-xxx.ap Tue Oct 3 08:54 - 08:54 (00:00)  
deployer pts/0  ip-10-0-0-xxx.ap Tue Oct 3 08:54 - 08:54 (00:00) 

Antwort

2

Abhängig von Ihrer Konfiguration kann Ansible für jede Aufgabe im Playbook bis zu 5 verschiedene SSH-Verbindungen herstellen.

Stellen Sie sicher, dass Sie die Steuerbuchsen und den Pipeline-Modus aktiviert haben, um die Anzahl der Verbindungen zu reduzieren und die Geschwindigkeit zu erhöhen. Weitere Informationen finden Sie unter this article (Abschnitt OpenSSH-Verbindungsspitzen).

+0

Danke @Konstantin. Ich werde den Artikel durchgehen. –