Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry committed Nov 14, 2019
1 parent e19d009 commit d76dc88
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,15 @@ chmod +x /usr/local/bin/docker-compose
```
export PROMPT='${ret_status} $fg[red]%}$USER$fg[yellow]%}@$fg[cyan]%}%m %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'
```
Append to `~/.ssh/zshrc` file
Append to `~/.ssh/zshrc` file

## Disable SSH by password
* add pub keys to `~/.ssh/authorized_keys`
* check you are able to SSH without password
* disable SSH by password. edit `/etc/ssh/sshd_config`
```
PasswordAuthentication no
ChallengeResponseAuthentication no
UsePAM no
```
* `sudo systemctl restart ssh`

0 comments on commit d76dc88

Please sign in to comment.