Ssh-add

De Linuxmemo.

(Différences entre les versions)
 
(2 versions intermédiaires masquées)
Ligne 14 : Ligne 14 :
*Temps de chargement
*Temps de chargement
-
  ssh-add -t 3600
+
  ssh-add -t time[qualifier]
 +
where, time is a positive integer value and qualifier is one of the following:
 +
Time Format Example
 +
none (default) seconds ssh-agent -t 30
 +
ssh-add -t 30
 +
s or S seconds ssh-agent -t 30s
 +
ssh-add -t 30S
 +
m or M minutes ssh-agent -t 30m
 +
ssh-add -t 30M
 +
h or H hours ssh-agent -t 30h
 +
ssh-add -t 30H
 +
d or D days ssh-agent -t 1d
 +
ssh-add -t 1D
 +
w or W weeks ssh-agent -t 2w
 +
ssh-add -t 2W
 +
 
 +
*verrouillage
 +
ssh-add -x          Lock agent
 +
ssh-add -X          Unlock agent

Version actuelle en date du 30 avril 2019 à 13:48

Commande de gestion de ssh-agent.

  • chargement
ssh-add
  • liste les clés déjà chargées
ssh-add -l
ssh-add -L
  • déchargement manuel
ssh-add -d
ssh-add -D
  • Temps de chargement
ssh-add -t time[qualifier]
where, time is a positive integer value and qualifier is one of the following:
Time	Format	Example
none (default)	seconds	ssh-agent -t 30
ssh-add -t 30
s or S	seconds	ssh-agent -t 30s
ssh-add -t 30S
m or M	minutes	ssh-agent -t 30m
ssh-add -t 30M
h or H	hours	ssh-agent -t 30h
ssh-add -t 30H
d or D	days	ssh-agent -t 1d
ssh-add -t 1D
w or W	weeks	ssh-agent -t 2w
ssh-add -t 2W
  • verrouillage
ssh-add -x          Lock agent
ssh-add -X          Unlock agent
Outils personnels