Linux: Difference between revisions

Jump to navigation Jump to search
227 bytes added ,  2 April 2018
→‎SSH: Reset (SELinux) permissions related to SSH.
→‎Volume group: width 50%
→‎SSH: Reset (SELinux) permissions related to SSH.
Line 12: Line 12:
| style="width: 50%;" | Push public SSH key to a server
| style="width: 50%;" | Push public SSH key to a server
| style="width: 50%;" | <code>ssh-copy-id -p 41111 -i ~/.ssh/id_rsa.pub mhan@remote.server.com</code>
| style="width: 50%;" | <code>ssh-copy-id -p 41111 -i ~/.ssh/id_rsa.pub mhan@remote.server.com</code>
|-
| style="width: 50%;" | Reset (SELinux) permissions related to SSH. This may be needed if all else fails to correct the issue of system not accepting public keys.
| style="width: 50%;" | <code>restorecon -R -v ~/.ssh</code>
|}
|}


Navigation menu