On remote server, create/check .ssh directory:
```
mkdir -p ~/.ssh
chmod 700 ~/.ssh
```
This sets correct permissions
```
mkdir -p ~/.ssh
chmod 700 ~/.ssh
```
This sets correct permissions
Comments
```
echo "your-copied-public-key" >> ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
```
```
touch ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
```
- Wrong permissions (too open)
- Missing .ssh directory
- Pasting private key instead of public
These break SSH security
```
ssh username@remote-server
```
If it works without password, you're set!
1. Set up SSH keys NOW
2. Never share private keys
3. Use ssh-copy-id for servers
Action: Set up keys for all your frequently accessed systems