This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
os:unix-commands [2023/04/24 16:56] tomas [Konverze] |
os:unix-commands [2024/07/17 22:16] (current) tomas [sitove nastroje] |
||
---|---|---|---|
Line 274: | Line 274: | ||
${variable: | ${variable: | ||
env ... zobrazi promenne prostredi\\ | env ... zobrazi promenne prostredi\\ | ||
+ | envsubst < | ||
export AAA ... promennou AAA vyexportuje pro potomky\\ | export AAA ... promennou AAA vyexportuje pro potomky\\ | ||
exit 0 ... ukonci skript/ | exit 0 ... ukonci skript/ | ||
Line 423: | Line 424: | ||
ssh-keygen -t rsa -b 2048 -f ~/ | ssh-keygen -t rsa -b 2048 -f ~/ | ||
ssh-keygen -lf ~/ | ssh-keygen -lf ~/ | ||
+ | ssh-keygen -R SERVERNAME ... smaže s known_hosts\\ | ||
ssh-agent bash ... spust bash s ssh-agentem, | ssh-agent bash ... spust bash s ssh-agentem, | ||
ssh-add ~/ | ssh-add ~/ |