Anonymous
Not logged in
Log in
Request account
Search
Changes
From Pumping Station One
Namespaces
Page
Discussion
More
More
Languages
Page actions
Read
View source
History
← Older edit
Salt
(view source)
Revision as of 01:24, 7 August 2017
376 bytes added
,
01:24, 7 August 2017
→Adding someone's SSH key to root access
Line 37:
Line 37:
test the upgrade against a single box
test the upgrade against a single box
−
sudo salt 'sally.ad.pumpingstationone.org' pkg.upgrade
+
<syntaxHighlight lang=bash>
−
sudo salt 'sally.ad.pumpingstationone.org' cmd.run 'reboot'
+
sudo salt 'sally.ad.pumpingstationone.org' pkg.upgrade
+
sudo salt 'sally.ad.pumpingstationone.org' cmd.run 'reboot'
+
</syntaxHighlight>
After rebooting the test box, log back in and make sure everything appears to work correctly.
After rebooting the test box, log back in and make sure everything appears to work correctly.
Once you are satisfied you are not going to have a long night repairing the network, deploy upgrades everywhere.
Once you are satisfied you are not going to have a long night repairing the network, deploy upgrades everywhere.
−
sudo salt '*' pkg.upgrade
+
<syntaxHighlight lang=bash>
+
sudo salt '*' pkg.upgrade
+
</syntaxHighlight>
+
+
== Adding someone's SSH key to root access ==
+
+
1. Get an SSH key. Here are some simple instructions:
+
*[https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2 Linux]
+
*[https://www.ssh.com/ssh/putty/windows/puttygen Windows]
+
+
+
It would be nice if this was better documented.
Rtystgeeke
1,238
edits
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
More information
OK
Navigation
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Wiki tools
Wiki tools
Special pages
Page tools
Page tools
Userpage tools
More
Printable version