Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| ssh [2017/12/27 00:42] – tmaier | ssh [2020/12/29 02:09] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== SSH Keys ====== | + | ====== SSH ====== |
| ===== Create SSH Keys ===== | ===== Create SSH Keys ===== | ||
| Line 7: | Line 7: | ||
| ===== SSH Proxy ===== | ===== SSH Proxy ===== | ||
| - | '' | + | '' |
| ===== SSH Agent Forwarding ===== | ===== SSH Agent Forwarding ===== | ||
| - | '' | + | '' |
| + | ===== Force Password Authentication (client-side) ===== | ||
| + | |||
| + | < | ||
| + | ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no < | ||
| + | </ | ||
| + | |||
| + | ===== SSH Folder Permissions Client ===== | ||
| + | |||
| + | < | ||
| + | chmod 700 ~/.ssh | ||
| + | chmod 600 ~/ | ||
| + | chmod 600 ~/ | ||
| + | </ | ||
| + | |||
| + | ===== SSH Folder Permissions Server ===== | ||
| + | |||
| + | < | ||
| + | mkdir ~/.ssh | ||
| + | touch ~/ | ||
| + | chmod 600 ~/ | ||
| + | vim ~/ | ||
| + | </ | ||