[joe@desktop] $ ssh-add
Enter passphrase for /home/joe/.ssh/id_rsa:
Bad passphrase, try again for /home/joe/.ssh/id_rsa:
Identity added: /home/joe/.ssh/id_rsa (/home/joe/.ssh/id_rsa)
# Show your key is loaded
[joe@desktop]$ ssh-add -l
2048 41:ff:d2:b9:e6:ab:1f:8a:df:73:e4:dd:7b:7b:37:c0 /hoem/joe/.ssh/id_rsa (RSA)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Steve Traylen <[email protected]> , 7th January 2014. | |
# A small wrapper script for todo.sh[1] that uses Dropbox-Uploader[2] | |
# to pull and push files from dropbox before they are operated | |
# on locally. If changes happen then the files are uploaded. | |
# The purpose of using this is it allows todo.sh cli to be used | |
# on a multiuser system where drop box cannot be installed | |
# in the normal fashion. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Testing | |
```console | |
[joe@desktop] $ ssh-add | |
Enter passphrase for /home/joe/.ssh/id_rsa: | |
Bad passphrase, try again for /home/joe/.ssh/id_rsa: | |
Identity added: /home/joe/.ssh/id_rsa (/home/joe/.ssh/id_rsa) | |
# Show your key is loaded | |
[joe@desktop]$ ssh-add -l |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hostset = HostParameter.where(name: 'hwdbkopts').map(&:host).reject { |h| ! defined?(h.name) }.select { |h| h.managed == true }.map{|h| h[:name]} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#%PAM-1.0 | |
auth required pam_permit.so | |
auth optional pam_echo.so "Have passed pam_permit" | |
account [default=bad success=ok user_unknown=ignore] pam_sss.so | |
account required pam_permit.so | |
account optional pam_echo.so "Have passed pam_sss" |
OlderNewer